G
Guest
I get the following error when open this form or try to save data in this
form -
"Database Can't find the field '|' referred to in your expression"
while saving if I choose to debug, I get to the following code -
******************
Private sub subform_exit (cancel as integer)
If isnull([JOB_NO]) or [JOB_NO] = "" then
msgbox ("Please enter the job no.")
Cancel = True
errno = 0
JOB_NO.SetFocus
Exit Sub
ivalue = (Msgbox ("do you want to save job no changes? ", 547, "update"))
If ivalue = 2 then
cancel ..
elseif
...
DoCmd.Save
Else
Form.undo
End if
End sub
****************
What am I doing wrong?
Thank you,
-Me
form -
"Database Can't find the field '|' referred to in your expression"
while saving if I choose to debug, I get to the following code -
******************
Private sub subform_exit (cancel as integer)
If isnull([JOB_NO]) or [JOB_NO] = "" then
msgbox ("Please enter the job no.")
Cancel = True
errno = 0
JOB_NO.SetFocus
Exit Sub
ivalue = (Msgbox ("do you want to save job no changes? ", 547, "update"))
If ivalue = 2 then
cancel ..
elseif
...
DoCmd.Save
Else
Form.undo
End if
End sub
****************
What am I doing wrong?
Thank you,
-Me