IF "Item Type"="Item Type"::Pump THEN BEGIN CurrForm.Canopy.VISIBLE(FALSE); CurrForm."Electric/Manual".VISIBLE(FALSE); CurrForm."Low/High/Speed".VISIBLE(FALSE); CurrForm.KVA.VISIBLE(FALSE); END ELSE IF "Item Type"="Item Type"::Generator THEN BEGIN CurrForm.Cooled.VISIBLE(FALSE); CurrForm."C/W Motor".VISIBLE(FALSE); CurrForm.KW.VISIBLE(FALSE); CurrForm."Volume/Head".VISIBLE(FALSE); CurrForm."Water Quality".VISIBLE(FALSE); CurrForm.HP.VISIBLE(FALSE); CurrForm."Speed(RPM)".VISIBLE(FALSE); END
Comments
BTW, Please Learn about the "IncludeInDataset"
I think you will get your solution from the below mentioned link.
viewtopic.php?f=32&t=33236&hilit=currForm.Control+RTC
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I mean to ask, what part of code is not working?
Are fields not visible?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
ArcherPoint, Inc http://www.archerpoint.com
Blog: http://www.navisionworld.com
skkulla