View Full Version : Opening data with a condition


yoavchen
01-31-2005, 03:17 AM
I am trying to make a button that when i click on it i get the data theat belong only to the person i asked for. what i mean that, if i i have
ideviduale A, i click the button and only his notes appears in the frorm, and if i choose individual B, after i click tyhe button, only his data will appear.
i don't know how to do the wherecondition that takes the relevant individuale i am viewing right now


Thanks

namliam
01-31-2005, 03:46 AM
Use the where clause of the Docmd.openform statement (search the access help!)

Regards

yoavchen
01-31-2005, 05:10 AM
but i dont know how to call a corrent recodrd. i know how to say, for example, fisrname= "john", i dont know how to take this information when john appears in the form and diplaying only the corrent person.
thanks