当前位置: 动力学知识库 > 问答 > 编程问答 >

Display a subform on clicked button - LOTUS NOTES 6.5

问题描述:

I'm new in programming in Lotus and I have a 'problem'. I would appreciate if you would help me. : - )

So, I create a button on a form ( called Form3 ), the button name is Click. All I want to do is when I click the button a subform will appear. I created the subform and I called it Subform3. I guess i have to code in the button's method called: Click. Thanks !

网友答案:
  1. Add the subform3 to your form3
  2. Add a button to Form3 to control showing the subform
  3. Set the button's formula to toggle a value to a variable:
    FIELD SubformToggle := @If(SubformToggle = 1; 0; 1);
  4. Set the HideWhen formula for the subform to be SubformToggle = 0
分享给朋友:
您可能感兴趣的文章:
随机阅读: