C
Cheswyck
I have a form to enter activity data. the date is usually
in the past. I tried leaving the field with no initial
value and I get an error saying invalid use of null as
soonas I enter the first digit. Then I used today's date
and it worked ok when I entered the correct date. Now I
want to change the initial date to be today if it is the
first entry or the previous record's date if the second
record is being entered. what instruction can I use? can
it be some kind of iif(empty(controlDate),today(),previous
record's date)?? How do I refer to the previous records
date entry? And should I put it in the default property?
in the past. I tried leaving the field with no initial
value and I get an error saying invalid use of null as
soonas I enter the first digit. Then I used today's date
and it worked ok when I entered the correct date. Now I
want to change the initial date to be today if it is the
first entry or the previous record's date if the second
record is being entered. what instruction can I use? can
it be some kind of iif(empty(controlDate),today(),previous
record's date)?? How do I refer to the previous records
date entry? And should I put it in the default property?