Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I need help please. Access 97
Message
From
10/08/1998 11:46:04
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
General information
Forum:
Microsoft Office
Category:
Access
Miscellaneous
Thread ID:
00125074
Message ID:
00125275
Views:
17
Mathias,

Assuming the procedure you want to call is SetButtons, and the name of the main form is MainForm...
In the OnChange event of the cell in the subform use the code:
Forms!MainForm.SetButtons
or
Parent.SetButtons

David.


>I have a function that disables some controls and enables / when you start editing data on the main form.
>
>This form has a subform (Datasheet). I would like to be able to call the function that enables / from within the datasheet on the on Change event in a cell.
>
>The trouble is by default Access only has On Enter and On Exit events on a subform that fire functions from the main form.
>
>How do I get round this? In short how do I run a function on the main form from a subform?
>
>Mathias
David.
Previous
Reply
Map
View

Click here to load this message in the networking platform