Open a form using a comand button on another form

M

Michalis J.

By using a command button on a certain form I am oppenig an other form at a
cetain record by using some criteria. I am using the command button wizard
to do that. When the form oppens however, I want to be able to move to other
records of the form record source. Is there an easy way to do that?
Thanks in advance
Michalis
 
A

Allen Browne

Instead of passing the criteria in the WhereCondition, pass it in OpenArgs
instead.

Then use the form's Load event to FindFirst in the RecordsetClone, and set
the Bookmark.
 
M

Michalis J.

Thanks a lot Allen. That really helped

Allen Browne said:
Instead of passing the criteria in the WhereCondition, pass it in OpenArgs
instead.

Then use the form's Load event to FindFirst in the RecordsetClone, and set
the Bookmark.
 

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