reference to master form

  • Thread starter Thread starter Roy Goldhammer
  • Start date Start date
R

Roy Goldhammer

Hello there

I have master form and inside there is subform.

If an event procedure uccur on subform, how can i get refence to the master
form in order to change there things when the name of the master form is
diffrent always?
 
Roy

Look in Access HELP for the "Parent." property.

Your code will look something like:

Me.Parent....

from within the subform.


If I may jump in here with related question...


What would be the proper way to code this human syntax from
the subform:

If the main form is a new record, then subform field
[PageNumber] (value) should be "1".
 

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