I would like to a create a variable or log file in which the operator ID would be saved with each case ID entered. This would help with quality control and auditing activities.
I know a workaround is to create a field on the first form in which the operator would manually enter their ID after (or before) the case ID, but I would like to automate the process so the operator doesn't have to enter their ID for every case.
I have been trying to play around with the following syntax that I found on another forum post. I assume that the GETOPERATORID function has a role to play.
Code: Select all
file auditFile;
function On_Focus()
filewrite(auditFile,"%s,%s,%08d,%06d",getoperatorid(),getsymbol(),sysdate("YYYYMMDD"),systime());
end;
Thanks so much,
Mike