I have created a simple Procedure that takes the input of a text file (Job
Numbers) and toggles the JobHead.JobClosed Field (checkbox) to "YES" in each
of the related Jobs. The problem is There is a trigger associated with that
checkbox. I think that is why I am getting the error below. How can I turn
off that trigger? Any suggestions?
I get this error
"db/trg/JobHead/write.p shared variable cur-comp has not been created (392)"
Here is the Procedure:
-----
INPUT FROM VALUE(SEARCH("jobnums.dat")).
REPEAT:
PROMPT-FOR JobHead.JobNum.
FIND JobHead USING INPUT JobNum.
DISPLAY JobHead.JobNum.
IF AVAILABLE JobHead THEN
ASSIGN JobHead.JobClosed = YES.
ELSE
MESSAGE "No job number" INPUT JobNum "exists." VIEW-AS ALERT-BOX.
END.
INPUT CLOSE.
-----
Numbers) and toggles the JobHead.JobClosed Field (checkbox) to "YES" in each
of the related Jobs. The problem is There is a trigger associated with that
checkbox. I think that is why I am getting the error below. How can I turn
off that trigger? Any suggestions?
I get this error
"db/trg/JobHead/write.p shared variable cur-comp has not been created (392)"
Here is the Procedure:
-----
INPUT FROM VALUE(SEARCH("jobnums.dat")).
REPEAT:
PROMPT-FOR JobHead.JobNum.
FIND JobHead USING INPUT JobNum.
DISPLAY JobHead.JobNum.
IF AVAILABLE JobHead THEN
ASSIGN JobHead.JobClosed = YES.
ELSE
MESSAGE "No job number" INPUT JobNum "exists." VIEW-AS ALERT-BOX.
END.
INPUT CLOSE.
-----