Hi,
How can I put some code in the next, prior, first and last method of a form to check a condition and if the condition is not met, cancel the movement so it stays on the same record?
I have tried but I get an error when the condition is met.
Example:
if somecondition
return .f. <- this causes an error
else
return dodefault()
endif
Thanks