B
Brian Langley
Morning folks-
Can anyone direct me to some code that will undo record addition? I have a
popup that needs a command button to cancel- delete the record and close the
form.
I was thinking a macro would do it through OnClick: RunCommand:
DeleteRecord, but since the form is Data Entry/Add Only it won't let me
delete it. Is there code that will do this? Or can the macro reassign the
DataEntry property to false and then back to true (I think I can do this
based on options in the expression builder, but am not sure the syntax)?
Cheers
Brian
Can anyone direct me to some code that will undo record addition? I have a
popup that needs a command button to cancel- delete the record and close the
form.
I was thinking a macro would do it through OnClick: RunCommand:
DeleteRecord, but since the form is Data Entry/Add Only it won't let me
delete it. Is there code that will do this? Or can the macro reassign the
DataEntry property to false and then back to true (I think I can do this
based on options in the expression builder, but am not sure the syntax)?
Cheers
Brian