show fields depending on header filter

karuchuakaruchua Member Posts: 151
hi all,


is it possible for me to show some fields only in my sub-form depending on what the user selects on the header field.

Comments

  • MBergerMBerger Member Posts: 413
    yes . Make a function in your subform that hides the fields in question ( let's call it HideFields ). Then call that function of the subform from your mainform when the conditions are met. Don't forget to give your subform control a name, otherwise you can't access it.
    If <condition> then
      currform.<name of subform control>.form.hidefields ;
    
Sign In or Register to comment.