Access controls on a form

Wildcard
Wildcard Member Posts: 26
... from an other form

hello all,

I want to set visible or not for some column on my form, depend on where i call this form.

I try to do like this :

a var based on the form i want to open. with this find the control and set visible to false ... but impossible to find the column ... in the symbol menu, the controls are blank ...

what I forgot to do ?

Answers

  • kine
    kine Member Posts: 12,562
    You can do it only from code on the form. Create new function which will set the properties, call it from the calling form, but in this case, you need to call the form through form variable...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Wildcard
    Wildcard Member Posts: 26
    of course :oops:

    thanks a lot !