General information
Category:
Coding, syntax & commands
Title:
GOTO TOP in ComboBox
Environment versions
Network:
Windows 2003 Server
I have a combobox in a grid, Its loaded dynamically from an array.
The array has 3 columns, description,code and sort order.
After I load the array I use ASORT() to place the items in the desired order.
So far so good!
When the user adds a new line to the grid (IE. combobox has no selected value yet) Users want the combobox to display first item in the drop down. Currently it seems to go to the first item that was added to the array, even if that is now the last item, middle or whatever.
I've tried using ;
This.Value=THIS.aItems[1,2]
This.ItemIndex=1
This.ListItemId=1
Each causes a C00005 error !
Any ideas how I can achieve this?
Gary.
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