Hide

siyaksiyak Member Posts: 66
If you have a form which has an option field then you have a subform link to that form.Is there any code that can hide some columns when you select other option and Unhide other columns.Please help

Comments

  • DaveTDaveT Member Posts: 1,039
    Hi Siyak,

    First of all you will need to create a function in the subform which hides the columns based on the parameter sent down (use the visible property)

    Then call this from the main form using

    currform.Mysubform.form.Myhidefunction( option );

    Hope this helps
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • siyaksiyak Member Posts: 66
    Thanks a lot!! i've tested it,but the client change the idea and he wanted two forms and its fine now
  • DaveTDaveT Member Posts: 1,039
    Glad to Help :D
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
Sign In or Register to comment.