General information
Category:
The Mere Mortals Framework
Title:
List box - selected item
I am using a list box to look up information in another table. The idea is that on entry to a text box an associated list box should open displaying lookup values which start at the value already displayed in the text box. The lookup table is a list of increasing numbers ie 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 65. The rowsource of the list box is set to a view of the table and I have used code to move the record pointer in the view to the same value as the text box. What I can't do is get the list box to select this value on being displayed. For instance, if the value in the text box is 48 I want 48 to be highlighted in the list box so that if I only wanted to change the value in the text box by one in the series i.e. 50 from 48 I would only have to move the record pointer in the list box down one record rather than from the start of the list.
Can anyone help?
J.Thomason
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only