show/hide columns in tabular forms

jpjesusjpjesus Member Posts: 45
Does anyone know if there is a way to identify at runtime which columns a user sets as hide/show in tabular forms?
This informations is stored in the zup file but what I need is to know which columns the user selected and store it in a table.

Thanks

Comments

  • kinekine Member Posts: 12,562
    I am not sure when the values stored in ZUP are used, but you can try to get it in OnOpenForm trigger through
      CurrForm.ControlName.Visible
    

    But you need to do that manually, you are not able to go through all columns in some loop etc. You need to code the Control Names into the code...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • jpjesusjpjesus Member Posts: 45
    It is possible to get the status of the field but it's near to impossible to come up with a way to store this on a table because the triggers do not allow you to change the data in most cases..

    Oh well, back to the drawing board ](*,)
Sign In or Register to comment.