D
dntews
I have what should be a simple question but have been reading and trying for
days and can't get it to work. I am using access 2007. Have a simple table
with empname and empid. Created a form with empname in unbound combo box with
"SELECT Employees.EmpName, Employees.id FROM Employees; " in rowsource. Form
is bound to employees table with "Select * from Employees" in recordsource.
EmpID is a text box has control source of "ID". AfterUpdate event on combo
is
Me.RecordsetClone.FindFirst "[EmpName] = " & Me![Combo0]
Me.Bookmark = Me.RecordsetClone.Bookmark
When I click on combo and select new name from dropdown the ID text box does
not change
PLEASE help me this silly thing to work. When I select a name in the combo I
want the data on the form to refresh.I plan to expand this but can't even gt
this to work.
Would greatly appreciate any help I can get
days and can't get it to work. I am using access 2007. Have a simple table
with empname and empid. Created a form with empname in unbound combo box with
"SELECT Employees.EmpName, Employees.id FROM Employees; " in rowsource. Form
is bound to employees table with "Select * from Employees" in recordsource.
EmpID is a text box has control source of "ID". AfterUpdate event on combo
is
Me.RecordsetClone.FindFirst "[EmpName] = " & Me![Combo0]
Me.Bookmark = Me.RecordsetClone.Bookmark
When I click on combo and select new name from dropdown the ID text box does
not change
PLEASE help me this silly thing to work. When I select a name in the combo I
want the data on the form to refresh.I plan to expand this but can't even gt
this to work.
Would greatly appreciate any help I can get