Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need help please. Access 97
Message
De
10/08/1998 11:46:04
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
00125074
Message ID:
00125275
Vues:
15
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform