That is what I have used, but the set up is this. I have a check box which
is
ticked if a a course is cancelled. the date field control source is based
on
this check box with an IIF statement as follows
=IIf([cancelled]=-1,Date(),"")
However, what is happening is that the current date is displaying in this
date field ie today all the cancelled courses were cancelled on 18/11/04,
according to the database. What I want is the field to store the date the
check box is ticked.
regards
Nikos Yannacopoulos said:
Lynn,
The function that returns th current date is simply Date(). In order to
achieve what you want, the simplest way is to put this function in the
Default Value property of the date field in the table. That way it will
default in (and keep) the current date whenever a new record is created
in
any way (manually in the table or through a form, through an append
query,
code or whatever), but allow you to change it if you want.
HTH,
Nikos
If your data entry is done manually through