I set up a new form named Update for Staff object for
want staff to use this form to update their own details only.
I added this rule to the Staff object to allow only the logged in user
to edit their details:
If LoggedInStaff.ID<>Staff.ID Then
PROTECT Staff FROM ALL EXCEPT Administrator AND
System
I also added a process UpdateStaffDetails
FIND Staff WHERE Staff.ID=LoggedInSystemUser.ID and then
VIEW Staff USING Main
When I tried to VIEW Staff USING Update the system reported an error:
Syntax error at token "Update", (column 18-). Was expecting tokens:
<STRING_LITERAL> or <IDENTIFIER>
What am I doing wrong?