on 01-21-2010 12:32 PM
Hi experts,
I have 4 subforms at header level like S1 - S2 - S3 - S4 - and a table "T1" table .
Now the requirement is that whenever rthere is no data in the Table T1 i dont want to display any of the Subforms. i.e from S1 till S4 and not the table as well.
Want to do it with Scripting.
Please suggest.
Hi,
Specify a variable(say Flag) in the GlobalData and then in the Code Initialization section Check whether your table is having data or not and accordingly set the variable (here Flag to "X" if table is having data).
In the Layout use this variable(check if flag == "X" ) to decide the visibility of the Subforms S1 to S4 .
Thanks.
UmaS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.