View Single Post
  #2 (permalink)  
Old September 4th, 2003, 03:33 PM
mpicton mpicton is offline
Registered User
Join Date: Sep 2003
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

assuming your using ASP - there are a few methods but you will need to pass the values to, say, hidden form objects and then select the appropriate values to fill in your text boxes.
somthinge like
<input type="hidden" name="name001" value="Company 1" />
<input type="hidden" name="address001" value="Address 1" />
<input type="hidden" name="name002" value="Company 2" />
then use your javascript to populate the text boxes to be displayed.

a word of warning if someone types "%%" as a search pattern it would bring all of the data back from the DB and your page could be downloading for ages