Calling Subform Module from Parent

spinktec

Registered User.
Local time
Today, 15:46
Joined
Nov 30, 2007
Messages
20
Is there a way to refer to (call) a subform private module from the parent. I can't make it working using the normal syntax I use to manipulate controls and objects.
 
You should put the code in a seperate module.
 
yeah.... I know; still, is there a way to do it directly.
 
I tinkered with it and could not get it to work.
 
Thanks. Just for your information: I'm trying to call the function that looks at the data on the form and adjusts the field locking based on the circumstance, user role, etc. I've done this successfully quite a lot, but I've never tried to call the RefreshForm function from a parent. I went around the issue by recreating the RefreshForm function for the sub in the parent with adjusted object referencing, but I prefer not to do it that way. I prefer to make my subs and parents naturally autonomous from their parents. (the least referencing of objects between).
 

Users who are viewing this thread

Back
Top Bottom