Hi
I have a main form with 2 subforms both having a fk of EmployeeID. I'd like to have to only select an employee one time from a combo box on the first form and have the bound integer value copied to the second EmployeeID control on the 2nd subform.
I've tried, as per this forum the following code in the onload event of the 2nd subform:
Me!EmployeeID = Forms![frmShowEntries]![subfShowEntriesDetail].Form![cmbEmployee]
'where [cmbEmployee] is the name of the control, also tried it as [EmployeeID], the field it is bound to...not sure what i'm suppose to reference but in either case I don't get any results in the 2nd form.
I've also tried the same code in the OnFocus event since i thought maybe the problem was that the subform is already loaded, in either case - nadda.
Any guidance would be appreciated