Dear BK
I have now tried your solution and it works as follows.
When an invalid date is entered, it throws a message and if I clicked okay, it then just carries on and allows me to complete the form and save it with the invalid date in the table.I need it to stop me from accepting an invalid date by taking the cursor back to Date field in the form and not allow update at all.
Also, when the date is left blank, it allows the transaction to be updated but does not update the table with the startdate as required.If this can be problem, I would rather have the form reject null value in the date field.
Please advise
regards
Vijay
I have now tried your solution and it works as follows.
When an invalid date is entered, it throws a message and if I clicked okay, it then just carries on and allows me to complete the form and save it with the invalid date in the table.I need it to stop me from accepting an invalid date by taking the cursor back to Date field in the form and not allow update at all.
Also, when the date is left blank, it allows the transaction to be updated but does not update the table with the startdate as required.If this can be problem, I would rather have the form reject null value in the date field.
Please advise
regards
Vijay