Jay P
asked on
VB6 Combo Box - Need to display Emp name but send Empid to the database
Hi Experts,
I am using Combo box in VB6. I am loading this combo box with employee names from database (in form_load event). I see two properties for combo box, one being datafield and the other being 'list' but I dont know how I can use them.
Could I use one of these columns, which does not display, to hold empid and once the user selects an Employee name, then I send the corresponding empid from that field to the database? Please suggest with code examples.
/uzairp
I am using Combo box in VB6. I am loading this combo box with employee names from database (in form_load event). I see two properties for combo box, one being datafield and the other being 'list' but I dont know how I can use them.
Could I use one of these columns, which does not display, to hold empid and once the user selects an Employee name, then I send the corresponding empid from that field to the database? Please suggest with code examples.
/uzairp
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.