Hi,
I am trying to hide a table on a button click. I wrote the following FormCalc code in the event Click of the button. But it doesnt work.
form1.purchaseOrder.main[*].presence = "hidden"
main is the table in the subform purchaseOrder.
(button and the table are in different subforms)
I opened a sample tutorial and pasted the same code. It works there, but not in my new form. I checked both the subform settings, they are same.
Am I missing something? Please advise.
Charli
Solved! Go to Solution.
Views
Replies
Total Likes
Topics help categorize Community content and increase your ability to discover relevant content.
Charli,
First, the form should be saved as a dynamic form to enable visibility changes to objects. Second, something got messed up with the table definition. I deleted your table and re-added a default table at the same position and the table now becomes hidden when you click the button.
I replied to your email with the updated form.
Steve
Views
Replies
Total Likes
Try
form1.purchaseOrder.main.presence = "hidden"
Steve
Views
Replies
Total Likes
I tried that Steve. It didnt work.
Views
Replies
Total Likes
Charli,
Send me the form at stwalker.adobe@gmail.com and I will take a look.
Steve
Views
Replies
Total Likes
Thanks Steve. I sent the form to your id.
Views
Replies
Total Likes
Charli,
First, the form should be saved as a dynamic form to enable visibility changes to objects. Second, something got messed up with the table definition. I deleted your table and re-added a default table at the same position and the table now becomes hidden when you click the button.
I replied to your email with the updated form.
Steve
Views
Replies
Total Likes
Thanks for your quick solution Steve. The problem is I am not saving the form as "Dynamic". Thank you very much.
Charli.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies