D
DCW
I am using access 2000 format and want to validate that the time and date
fields are compared to not allow input of duplicate dates or times. The form
is an event calendar form using a continuous data entry subform. Since the
data can be captured for the same date many times at different times ie
05-08-09 at 08:00am,
05-08-09 at 09:00am etc and will be possible for the subform to scroll out
of view a validation will be necessary.
My table has these fields:
CalendarID -- Auto Number
Date -- Date/Time
Time -- Date/Time
Contact -- Text
Event Type -- Text
Place -- Text
Date Alert -- Date/Time
Event Due Past Due -- Yes/No
There is no primary key since the table and forms stand alone.
I want to set a before update vb code.
fields are compared to not allow input of duplicate dates or times. The form
is an event calendar form using a continuous data entry subform. Since the
data can be captured for the same date many times at different times ie
05-08-09 at 08:00am,
05-08-09 at 09:00am etc and will be possible for the subform to scroll out
of view a validation will be necessary.
My table has these fields:
CalendarID -- Auto Number
Date -- Date/Time
Time -- Date/Time
Contact -- Text
Event Type -- Text
Place -- Text
Date Alert -- Date/Time
Event Due Past Due -- Yes/No
There is no primary key since the table and forms stand alone.
I want to set a before update vb code.