Page 2 of 2
Re: If there are no entries in the subform - to hide the sub
Posted: Mon Oct 05, 2020 11:12 am
by kev1n
The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
Re: If there are no entries in the subform - to hide the sub
Posted: Mon Oct 05, 2020 1:27 pm
by kknm
kev1n wrote:The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
Found a mistake in the problem description.
On the main form, I need to hide the run objects (type = iFrame)
Re: If there are no entries in the subform - to hide the sub
Posted: Tue Oct 06, 2020 11:07 am
by kknm
kev1n wrote:The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
Found a mistake in the problem description.
On the main form, I need to hide the run objects (type = iFrame)
Re: If there are no entries in the subform - to hide the sub
Posted: Tue Oct 06, 2020 6:36 pm
by kev1n
First the main form is created and then the run objects. So at the moment, when the main form is loaded, the run objects are not yet fully loaded.
Therefore, you can't retrieve the number of rows of a run object from the main form (while the run objects don't exist yet)