G
Guest
Hi!
Is there any method to do this:
I have one table: A_tab
With two fields: ini_date; end_date
Before I save the new record (with one date value), i want to validate if
the value date is, or isn't between any ini_date and end_date record.
Ex:dd/mm/yyyy
Type1....ini_date.........end_date
1011....31/01/2005 25/02/2005
1032....26/02/2005 27/02/2005
In the form's field I have:
Type: 2020
Inicial Date: 24/02/2005
End Date: 28/02/2005
What I want, is to generate an error because the 'Inicial Date' cannot be
between of any record on the table. Simply, I want that the 'Inicial Date' be
always major than the last period inserted. Can I use the method Dlookup?
Is there any method to do this:
I have one table: A_tab
With two fields: ini_date; end_date
Before I save the new record (with one date value), i want to validate if
the value date is, or isn't between any ini_date and end_date record.
Ex:dd/mm/yyyy
Type1....ini_date.........end_date
1011....31/01/2005 25/02/2005
1032....26/02/2005 27/02/2005
In the form's field I have:
Type: 2020
Inicial Date: 24/02/2005
End Date: 28/02/2005
What I want, is to generate an error because the 'Inicial Date' cannot be
between of any record on the table. Simply, I want that the 'Inicial Date' be
always major than the last period inserted. Can I use the method Dlookup?