G
Guest
I'm trying to add logic to my VB code to not allow changing of a field (for
example, an existing order number). I added logic in VB code of the Before
Update event, that if something exists in that field already, the VB code
displays a message saying it can't be changed, and I saved the original value
of what was in their before they edited it, but I can't figure out how to put
that original value back in. Only on new orders should the user be able to
enter a value in the field. For existing orders, the order number should be
not editable.
example, an existing order number). I added logic in VB code of the Before
Update event, that if something exists in that field already, the VB code
displays a message saying it can't be changed, and I saved the original value
of what was in their before they edited it, but I can't figure out how to put
that original value back in. Only on new orders should the user be able to
enter a value in the field. For existing orders, the order number should be
not editable.