Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
access db, show different records
Old 05-24-2006, 09:43 PM access db, show different records
Junior Talker

Posts: 2
Trades: 0
this one is for SQL
vrecordsi.asp?row=<%=(serverinfo.Fields.Item("ID") .Value)%>
this one is for PHP
vrecordplyr.php?Row=<?php echo $row_lname_search['ID']; ?>

what is the command for ACCESS DB??

have some colums on a page =
view Record,server name, ip, model, serial

when i hit view record (show me more details of the server), i want it to open a new page (I have this working) and show me the complete details of that server record, I have the view record working, but it only shows me the first record's details no matter what view record(different servers) i click on....


%>
<tr>
<td width="1%"></td>
<td width="15%"><font color="#000000"><a href="vrecordsi.asp?row=<%=(serverinfo.Fields.Item ("ID").Value)%>">View Record</a></font></td>
<td width="20%"><font color="#000000"><%=(serverinfo.Fields.Item("Server _Name").Value)%></font></td>
<td width="15%"><font color="#000000"><%=(serverinfo.Fields.Item("Domain ").Value)%></font></td>
<td width="15%"><font color="#000000"><%=(serverinfo.Fields.Item("Locati on").Value)%></font></td>
<td width="14%"><font color="#000000"><%=(serverinfo.Fields.Item("IP").V alue)%></font></td>
<td width="18%"><%=(serverinfo.Fields.Item("Function") .Value)%></td>
</tr>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
serverinfo.MoveNext()
Wend
%>
twindude is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2006, 03:36 AM Re: access db, show different records
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
just the same depending on if you are running PHP or ASP with Access


Quote:
I have the view record working, but it only shows me the first record's details no matter what view record(different servers) i click on....
Well, if you pass a record ID and extract records for that, there will be only one record.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-25-2006, 07:54 AM Re: access db, show different records
Junior Talker

Posts: 2
Trades: 0
chrishist

understood..

i'm trying to figure out the code to pass each record and not just the first record...?
twindude is offline
Reply With Quote
View Public Profile
 
Old 05-25-2006, 01:01 PM Re: access db, show different records
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you don't pass any id to the query to show all records. the query to extract the records then has no WHERE clause.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to access db, show different records
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19121 seconds with 12 queries