Hello,
I have a mainform with two subforms. (SubF1 and SubF2)
Both subforms are based on the same object and have a control called Ref.
On the mainform, I'd like to create a third subform that holds a filtered table, based on the two first subforms.
As a first step, I thought to do this by creating a variable that contains the necessary filter. (like = SubF1.Ref|SubF2.Ref ) but already there, I have problems to generate this value.
My question, though, is probably rather sipmle to answer : can I read information in a control on a subform towards a control on a mainform ?
Tnx in advance !
kinda like this site !
0
Comments
You can return only simple variable types.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
define a function on subforms's form that has a parameter called by reference. you don't need to use the return var. Then you can call this function from main form using:
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯