DomFino
01-26-2006, 08:50 AM
Hi everyone,
I have a form that has a date field. When the date field is double clicked a pop up calendar displays and the user can double click on a date and it populated in the date field. The problem in this case, is the date selected must be a week ending date (Saturday).
What I was trying to figure out is how can I check the date selected by the user and if it is not 7, then make it 7 or the Saturday following the date selected.
The date field name is: WeekEnding
Format: General Date
Input Mask: 99/99/0000;0;_
I think I need code in the Validation Rule of the field, but am not sure.
I saw the following code in another post, but I am not sure if it will do what I need or where the code should go:
NEXT_DAY(<date>+7, 'Saturday')
Thanks
Dom
I have a form that has a date field. When the date field is double clicked a pop up calendar displays and the user can double click on a date and it populated in the date field. The problem in this case, is the date selected must be a week ending date (Saturday).
What I was trying to figure out is how can I check the date selected by the user and if it is not 7, then make it 7 or the Saturday following the date selected.
The date field name is: WeekEnding
Format: General Date
Input Mask: 99/99/0000;0;_
I think I need code in the Validation Rule of the field, but am not sure.
I saw the following code in another post, but I am not sure if it will do what I need or where the code should go:
NEXT_DAY(<date>+7, 'Saturday')
Thanks
Dom