G Guest Oct 25, 2006 #1 I would like to have access flag me if a date I enter is outside a specific date range.
F fredg Oct 25, 2006 #2 I would like to have access flag me if a date I enter is outside a specific date range. Click to expand... You can code the BeforeUpdate event of the Date control on your form: If Me![DateFuield] < #1/1/2000# Or Me![DateField] > Date then MsgBox "Entered date must be between 1/1/2000 and today's date." Cancel = True End If
I would like to have access flag me if a date I enter is outside a specific date range. Click to expand... You can code the BeforeUpdate event of the Date control on your form: If Me![DateFuield] < #1/1/2000# Or Me![DateField] > Date then MsgBox "Entered date must be between 1/1/2000 and today's date." Cancel = True End If