Opening a form from within a form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to make it so that when you dbl click in a field on a form
another form opens displaying the contents of that field so they can be
editted. I can get it to open the form when the field is dbl clicked, but I
cannot get it to display the contents of the field that was clicked.
Can anyone help? I am kind of thinking that I need to use a query somehow,
but not sure how to get it to refer to a form and the active records
reference.
 
Chris,

You did not indicate what the record source for your second form is.
Assuming that the record source for the second form is producing a record set
that contains the record you want to be displayed, use the Where parameter
with your OpenForm call.

In other words, add a Where statement to the code that is opening your
second form. Look in the Help file for OpenForm.
 

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

Back
Top