Forums
This topic is locked
Who said size doesn't matter
Posted 12 Aug 2002 02:05:34
1
has voted
12 Aug 2002 02:05:34 Jeremy Millar posted:
Looking for some suggestions from the people in the know... Have a table with over 7000 entries... call these the suppliers....On the page I want the user to select a supplier from a dropdown list...
My problem is the time it takes to populate the list. Can anyone suggest a better to allow the user to select a supplier.....
Replies
Replied 12 Aug 2002 02:24:21
12 Aug 2002 02:24:21 Owen Eastwick replied:
How about just leter links on the first page:
<u>A</u> <u>B</u> <u>C</u> <u>D</u>....etc.
<a href="Results.asp?Alpha=A">A</a> <a href="Results.asp?Alpha=B">B</a>
Then the results page which is a recordset displayed in a repeat region with all the suppliers begining with the letter selected, these in turn could be links to whatever you want.
varAlpha = Request.QueryString("Alpha"
RecordsetName.Source="SELECT SupplierName FROM SipplierTable WHERE SupplierName LIKE '" & varAlpha & "%'"
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
<u>A</u> <u>B</u> <u>C</u> <u>D</u>....etc.
<a href="Results.asp?Alpha=A">A</a> <a href="Results.asp?Alpha=B">B</a>
Then the results page which is a recordset displayed in a repeat region with all the suppliers begining with the letter selected, these in turn could be links to whatever you want.
varAlpha = Request.QueryString("Alpha"
RecordsetName.Source="SELECT SupplierName FROM SipplierTable WHERE SupplierName LIKE '" & varAlpha & "%'"
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 03 Sep 2002 05:17:30
03 Sep 2002 05:17:30 Jeremy Millar replied:
thanks for that... and thank-you for your time and effort.