how to disable an action button in Page

WAMIKWAMIK Member Posts: 14
edited 2013-03-28 in NAV Three Tier
I have added an action button in the Page with the name 'Send to Database'.

There is a field in the table Updated in Database of Boolean datatype.

Initially Updated in Database is kept False but once the button is 'Send to Database' clicked the above field Updated in Database is True.

The function of the above button is working fine.

But I want to disable this button after checking the Boolean field (Updated in Database).

If the field Updated in Database is false then the button will be enabled else if the Updated in Database field is true the Send to Database button field will be disabled.

Let me give you an example if there is any record in the Table the Refresh button in the action tag is enabled and if there is no record in the table the Refresh button is disabled.

Thanks in advance.

Comments

Sign In or Register to comment.