Forums
This topic is locked
List value showing 1 instead of 18
26 Mar 2002 07:00:53 b w posted:
Say I have a recordset that brings values from 1 to 18. I bind the values of the recordset to the list option (list/menu). However the cursor or value shows 18. I want it to show 1. Any one know how to show the first value 1 ?Thanks
asp, sql 2000, windows 2000 server, ud 4,vbscript
Replies
Replied 26 Mar 2002 12:51:26
26 Mar 2002 12:51:26 Owen Eastwick replied:
Try adding an "ORDER BY" clause to your SQL statement to list the numbers in the desired order. In addition when you create a dynamic list/menu you will see "select value equivalent to" at the bottom of the dialogue box, use this to have the value equivalent to 1 initially selected.
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Regards
Owen.
Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 27 Mar 2002 02:28:25
27 Mar 2002 02:28:25 b w replied:
Thanks you led me to the answer.
Although the "Label", "value" and "Select value equal to" are just showing the binding value, I can choose the First Index record to make it show up at 1 or the first record.
The "order by" didn't work as the cursor or pointer stops at the last record in the menu option.
Thanks again
Although the "Label", "value" and "Select value equal to" are just showing the binding value, I can choose the First Index record to make it show up at 1 or the first record.
The "order by" didn't work as the cursor or pointer stops at the last record in the menu option.
Thanks again