getting more records...

Results 1 to 3 of 3

Thread: getting more records...

  1. #1
    deeem Guest

    Default getting more records...

    hi..ive managed to display records from a database and then make one of those records i.e. Company into a link..<BR><BR>the link goes to a new asp page using this: <BR>response.write "&#060;a href=&#039;directindex.asp? company="&recForeCourt.Fields.Item("Company").Valu e&"&#039;&#062;test&#060;/a&#062;" <BR><BR>which works but it will only display that record on the next page.. how do i get it to display everythign like address, tel, fax etc... ?<BR>

  2. #2
    Alotta Fagina Guest

    Default RE: getting more records...

    Like this:<BR>"Select address, tel, fax from table where company =&#039;" & request.querystring("company") & "&#039;"

  3. #3
    Join Date
    Dec 1969

    Default Because u asked for it: are just sending the company name to the next page how would it show u all the details, there are 2 ways<BR>1. in the ahref add all the value to the querystring so that when the link is clicked everything passes to the next page <BR><BR>OR<BR>2. just pass the company and then on the next page query the database again, get the values and display them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts