OpenForm Macro (1 Viewer)

davey3389

Registered User.
Local time
Today, 00:34
Joined
Jul 16, 2012
Messages
30
On the Openform option on Macro's what do I need to type in to get my form to open where the "ID" field from "Employee Phone Search" form matche the "ID" field from "Employee Details" form

Cheers
 

davey3389

Registered User.
Local time
Today, 00:34
Joined
Jul 16, 2012
Messages
30
F1 didn't seem to help me much

But I tried

"[ID] =" & [Forms]![Employee Details]![ID]

and that did not seem to work
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:34
Joined
Aug 30, 2003
Messages
36,140
In a macro? The syntax is different there, which is why I suggested looking in help.
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:34
Joined
Aug 30, 2003
Messages
36,140
My help shows this as the format for a macro:

[fieldname] = Forms![formname]![controlname on other form]
 

davey3389

Registered User.
Local time
Today, 00:34
Joined
Jul 16, 2012
Messages
30
When i typed that in, it opened the form but showed no results
 

pbaldy

Wino Moderator
Staff member
Local time
Yesterday, 16:34
Joined
Aug 30, 2003
Messages
36,140
Can you post the db here so we can fix it?
 

Users who are viewing this thread

Top Bottom