Novice in filter hell

G

Guest

hi i have a problem with a filter i need the macro to open a form called
contacts and search for a specific person.

my field is called CAM_BMUM which i have on the main form and the contacts
form the field is called the same CAM_BMUM i have hacked some code of a demo
but it just wont work. please if anyone can help. i need it to pull up the
persons file who is linked to whats put in that field.

please be gentle on the coding
a novice is reading it! Lol
 
S

Steve Schapel

Rivers,

Assuming you are using a macro with an OpenForm action, if I understand
you correctly you would simply put the equivalent of this in the Where
Condition argument of the macro design...
[CAM_BMUM]=[Forms]![NameOfMainForm]![CAM_BMUM]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top