Hi! I'm creating a recordset from my database with two fields
in it. They are:
iCompanyId Integer - Unique Identifier
vchCompanyName varchar(100)
I want to display the vchCompanyName field values in a combobox for the user to choose the company they want to do work on. Is there a way to store both the iCompanyId and vchCompanyName values in the combo box but only display the vchCompanyName data? This would be similar to the ItemData property for Visual Basic combo boxes. I want the user to choose the company by name but I want the program to use the Unique ID field to do the work. Any help would be much appreciated.
Regards,
Scott
in it. They are:
iCompanyId Integer - Unique Identifier
vchCompanyName varchar(100)
I want to display the vchCompanyName field values in a combobox for the user to choose the company they want to do work on. Is there a way to store both the iCompanyId and vchCompanyName values in the combo box but only display the vchCompanyName data? This would be similar to the ItemData property for Visual Basic combo boxes. I want the user to choose the company by name but I want the program to use the Unique ID field to do the work. Any help would be much appreciated.
Regards,
Scott
Comment