xiang_zh
26th January 2005, 04:46
Dear All:
I created a display session and form type is 3 (multi-occ+view+main).
I put two buttons in current form. One is "Hide" ,another is "Show".
My question is how to hide all data when user click "Hide" button(Only
hide in the screen,but data still exist in the form),and show all data
when user click "Show" button.
I found a command "inputfield.invisible()" can realize this function.But
this command must be use field by field. Can anybody teach me a easy
way? :D :D :D
Thanks
Best Regards.

NPRao
26th January 2005, 08:28
inputfield.invisible() is a BaaN-V function. I see you are on the BaaN-4 so you cant use it.

Another way is to set the primary key to some wierd value which doesnt exist and then use the function - rebuild.query(). You can search on the board for examples of rebuild.query().