On our goods receipt form we wish to hide the post/print button to prevent goods being posted. I have added a boolean in to show this trigger.
If the trigger = true then the post/print button needs to be replaced with just a print button.
I have created a test button called Print1, and put the following into several areas of the form but withouse success (in addition to this, i will need to set the print/post button to hide. I thought about laying the new button over the top of the current button to get it to swap?):
IF WhseActivityLines.BOOLEANFIELD = TRUE THEN
CurrForm.Print1.VISIBLE
ELSE
CurrForm.Print1.VISIBLE(FALSE);
(When receiving goods, we have 1order / whs avtivity header)
Am I able to set buttons to hide like i am with columns?
Thanks
Comments
RIS Plus, LLC
Just to go off topic for a sec - since this post is about Hiding Buttons I figured I'd paste some doc's about Hiding Buttons incase somone in the future is looking.
http://savatage99.googlepages.com/HideButton.pdf
http://www.geocities.com/navision_attai ... uttons.doc
http://www.BiloBeauty.com
http://www.autismspeaks.org
The form i am working on looks at the warehouseactivityhdr, whereas the boolean is on the w.a lines, so I guess this is the tricky situation!
I have tried doing a get / find from the header to the line but to no avail, so any guidance would be appreciated.
Thanks
RIS Plus, LLC