B
biganthony via AccessMonster.com
Hi,
I have a continuous form listing some employees. One of the fields displayed
is the EmployeeID field. Is it possible to double-click a particular
EmployeeID field on the continuous form and another form (called
"frmEmployees") open and display the record for the employee that I double
clicked?
I tried the following code and the frmEmployee form opened but at the first
record, not the record for the person I double-clicked in the continuous form.
*********************************
Dim strWhere As String
strWhere = "[EmployeeID] = """ & Me.[EmployeeID] & """"
DoCmd.OpenForm "frmEmployees", , , strWhere
*********************************
Thanks,
Anthony
I have a continuous form listing some employees. One of the fields displayed
is the EmployeeID field. Is it possible to double-click a particular
EmployeeID field on the continuous form and another form (called
"frmEmployees") open and display the record for the employee that I double
clicked?
I tried the following code and the frmEmployee form opened but at the first
record, not the record for the person I double-clicked in the continuous form.
*********************************
Dim strWhere As String
strWhere = "[EmployeeID] = """ & Me.[EmployeeID] & """"
DoCmd.OpenForm "frmEmployees", , , strWhere
*********************************
Thanks,
Anthony