G
Guest
My Access 2003 project consists of a switchboard with several sub forms all
positioned on top of one another. On the switchboard is a number of command
buttons which makes each sub form visible or not. All works great.
On one of the subforms i have a cmdbutton which opens a new standalone form.
On that standalone form i have a text box with the following control source.
=DLookUp("[EmployeeFullName]","qryEmployeeFullName"," [Employee ID] =
Forms![sbfrmSwitchboardEmployees]![EmployeeID]")
Depending what record is selected on the subform depends what name is
displayed in the standalone form.
This works fine when the subform is opened by itself (no switchboard), but
when i open the switchboard and open the stand alone form the text is showing
Error.
I've changed my control source to
=DLookUp("[EmployeeFullName]","qryEmployeeFullName"," [Employee ID] = '" &
Me.EmployeeID & "'") but still no look.
Any one have any ideas please?
positioned on top of one another. On the switchboard is a number of command
buttons which makes each sub form visible or not. All works great.
On one of the subforms i have a cmdbutton which opens a new standalone form.
On that standalone form i have a text box with the following control source.
=DLookUp("[EmployeeFullName]","qryEmployeeFullName"," [Employee ID] =
Forms![sbfrmSwitchboardEmployees]![EmployeeID]")
Depending what record is selected on the subform depends what name is
displayed in the standalone form.
This works fine when the subform is opened by itself (no switchboard), but
when i open the switchboard and open the stand alone form the text is showing
Error.
I've changed my control source to
=DLookUp("[EmployeeFullName]","qryEmployeeFullName"," [Employee ID] = '" &
Me.EmployeeID & "'") but still no look.
Any one have any ideas please?