Hi everybody,
I am using the following syntax : CurrForm."No.".VISIBLE := FALSE;
But instead of using ControlName("No."), I want to use a variable to which "No." will be initialized.
eg. CustNo := "No.";
Can anyone tell me how the field "No." be made invisible by using variable CustNo?
Thx & Rgds
Nalinee
0
Comments
MCP+I, MCSE NT, Navision MCT (2004,2005)
We need to enable the users to define the fields they want to hide and the form to automatically hide those fields.
You can find an example for this in older navision version, e.g. 3.70B Form 330, when navision was using this for showing/hiding menues. This logic could be slightly modified.
So with this background, you could create a setup table where the users could show/hide the fields in specific forms, read the values for the user who opend the form, and then decided which fields to hide.
Nevertheless, I d not like this idea for normal forms as this will increase support efforts in case users are complaining about things not working and you have to reproduce exactly what they see as the navigation (order) changes moving from one control to the next etc.
MCP+I, MCSE NT, Navision MCT (2004,2005)