HI every one,
i have a table contain a combo box with 2bound column the first is Employee_Name and the other is Employee_ID
my code is
The message box display the ID of selected Employee and i want it to display the Employee_Name
any help will be appriciated
thank you alot for care
i have a table contain a combo box with 2bound column the first is Employee_Name and the other is Employee_ID
my code is
Code:
Dim RsStaff As DAO.Recordset
Dim VarX As String
Set FoodStuff = CurrentDb
Set RsStaff = FoodStuff.OpenRecordset("Employees")
RsStaff.movefirst
VarX = RsStaff!Employee_Name
Msgbo Varx
any help will be appriciated
thank you alot for care