Greetings all
I have a simple little DBF file for employee Salary ref numbers, names etc.
I have a DBlookupcombobox that correctly display the list of Salary reference numbers.
I use csDropDownList as the Style and then set the Dblookupcombobox item index to 0 when the program starts.
I have enabled the Scrolllistdataset on the DBlookupcombobox as i have two TDBTEXT controls that just display the First Name and Surname when you select a Salary ref in the Tdblookupcombobox.
I know i am skipping something, but as soon as I select the Salary ref, it does change the details in the TDBTEXT correctly, but then the Text in the TDBLOOKUPCOMBOX dissapears.
Its like its setting its index to -1 perhaps?
It must be something simple?
Any help will be appreciated.
-Regards, Peter