‎22-06-2020 03:44 PM
Hello,
I have the requirement that a popup should be displayed if a user changes an attribute value (for example: Status from "active" to "inactive"). If the user changes the status to inactive a popup should be displayed.
The Popup should have a "OK" and "Cancel" button.
I created a MetaAttributeUpdateTool and it prints a MsgBox by changing the value. So I know this works.
Problem right know:
Would be great to provide me some code examples or pseudo code for estimating the time I will need to implement it.
Thank you in advance,
Randy
‎08-07-2020 03:31 PM
Hi Randy,
try this :
answer=msgbox("Do you really want to set this to 'Inactive' ?",1)
if answer = 2 Then 'If cancel was pressed
<code to reset attribute...>
end if