ACCESS 2000 Validation Script

D_C_W

New member
Local time
Today, 09:32
Joined
May 9, 2009
Messages
2
Help needed with validation script.

I have made a form and subform over a table named calendar. The table fields are:

CalendarID – AutoNumber
Date – Date/Time
Time – Date/Time
Contact – Text
Event Type – Text
Place – Text
Date Alert – Date/Time
Event Due Past Due – Yes/No

I want to prohibit a Date and Time conflict (i.e.) Event1 dated 05-18-09 at 08:00AM and (new record) Event2 dated 05-18-09 at 08:00AM. It is important for a validation script to stop the action and have a message box to exist in vba in the Before_Update sub.

Thanks – D_C_W
progress.gif
 
Thanks
jsv2002

From your link I found a couple of examples of actual code or indexing. Printed them out - gotta get my head around them. Im one of those that needs to see the flow.

Thanks D_C_W
 

Users who are viewing this thread

Back
Top Bottom