Hiding Buttons on Forms

madmmadm Member Posts: 92
edited 2007-04-18 in Navision Attain
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

Sign In or Register to comment.