on 06-23-2010 5:51 AM
Hi All,
I need to hide a subform, if the table(Under this subform) does not have the Data. Otherwords, if the Table is empty, the entire subform should be hidden.
Please provide me a sample code using Javascripts and without using the Javascripts.
Thanks in advance and your help in this regard is appreciated.
Regards,
Anand
Hi,
take this example.. formcalc scripting write this logic on the table subform
if(data.Bodypage..Table1.#subformSet[0].Row1.Cell1.rawValue == null and
data.Bodypage.Table1.#subformSet[0].Row1.Cell2.rawValue == null and
data.Bodypage.Table1.#subformSet[0].Row1.Cell3.rawValue == null and
data.Bodypage.Table1.#subformSet[0].Row1.Cell4.rawValue == null and
data.Bodypage.Table1.#subformSet[0].Row1.Cell5.rawValue == null )
then
$.presence = "hidden"
else
$.presence = "visible"
endif
thanks,
Madhukar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.