L
L Melville
Hi,
I have 2 date fields on a form that must be entered, the table properties
are set to 'Required'. On the form I have a save and cancel button, the
code behind the cancel button is;-
if me.dirty then me.undo
docmd.close
now the problem is when editing the data, and deleting one of the dates and
then pressing cancel, the usual access error message about this field being
required is shown. I have even tried storing the dates in variables and
when the cancel button is clicked the old dates are reinserted and it still
doesn't work, is there a way around this?
thanks
lee
I have 2 date fields on a form that must be entered, the table properties
are set to 'Required'. On the form I have a save and cancel button, the
code behind the cancel button is;-
if me.dirty then me.undo
docmd.close
now the problem is when editing the data, and deleting one of the dates and
then pressing cancel, the usual access error message about this field being
required is shown. I have even tried storing the dates in variables and
when the cancel button is clicked the old dates are reinserted and it still
doesn't work, is there a way around this?
thanks
lee