Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a DataListbox move its binded recordset ?
Message
 
 
To
26/04/2002 14:14:49
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00649517
Message ID:
00649751
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
This is how it works. Let's say your recordset has two fields MyCode and MyDesc. You are displaying the MyDesc on the listbox for the user but internally you need the MyCode field to store in your tables.
You will need to set the following properties for your listbox:
RowSource --> MyRecordset
ListField --> MyDesc
BoundColumn --> MyCode

When the user selects an item in your listbox this is what you get:
listbox.Text: returns the contents of MyDesc field of the selected item
listbox.BoundText: returns the contents of MyCode field of the
selected item


Hope this will answer your question.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform