I have a script that's supposed to make subforms visible based on the selection in 3 DDLs. The script seems to work sort of. The space is there but the actual content of the subform is not visible.
The subforms are set to Hidden.
The script is set in the exit event of the third DDL.
Thank you BR001. Here is the link to my form:
The script I'm referring to is on the exit even of the Windows Account field. The rawValues in the Division, Associate Type and Windows Account fields control the subforms that appear on page 4 section 3. All are working fine except the form1.page4.pcEquip.loaner subform. The space is created, but the content of the subform doesn't show. Selecting Division: FHEG, Associate Type: Temporary and Windows Account: New shouls cause the loaner subform to be made visible on page 4.
In the windsNtwkAccess exit event code at line 298 you need to change
else if (v1 = '2')
else if (v1 == '2')
That is change the equals to a double equals.
You also have code in the form1.page4.eitEquipment ready:layout event and form1.page4 ready:layout events that seem to duplicate this code and should be removed.