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".
 
Back
Top