>If the button is clicked and it reads 'Edit' then
>- if I can get a lock on the record then
>-- perform the button change
>- else
>-- tell the user the record is locked
>- endif
>else
>-- It must be a save button, so save the record...
>-- ...and perform the button change.
>endif
I tried this:
DO CASE
CASE ... = 'EDIT'
IF ISRLOCKED()
MESSAGEBOX('BLA BLA BLA')
RETURN
ENDIF
CASE ... = 'SAVE'
ENDCASE
But that is not working either.
I have this method called set_errors() that is a method of my oApp class.
But I set it off by saying ON ERROR so I can Get the default Error Message for this segment of code.
I Don't know what to do now.
What is Wisdom?
Wisdom - The ability to respond to any situation according to God's Plan.
Therefore:
USE Wisdom IN Everything ORDER priority AS Knowledge
SELECT Knowledge
BROWSE FOR Understanding WHERE Wisdom=Guide
LeRoy Jackson