G
Guest
I have a form with a textbox in which to enter dates. I want to make a macro
for the textbox that :
(1)checks in a query to make sure that date isn't a duplicate
(2)gives the user a message box warning if it is a duplicate.
The form name is " formJS" and the textbox (control) name is "Date." The
query name is "qryJS" and the field name is "Date." I understand how to make
the macro and how to use it in the textbox on the form, but I need help with
the macro condition. Not sure what expression to use to get the results I
want.
for the textbox that :
(1)checks in a query to make sure that date isn't a duplicate
(2)gives the user a message box warning if it is a duplicate.
The form name is " formJS" and the textbox (control) name is "Date." The
query name is "qryJS" and the field name is "Date." I understand how to make
the macro and how to use it in the textbox on the form, but I need help with
the macro condition. Not sure what expression to use to get the results I
want.