Hi folks, changing my code slightly to take into account a combo selection on a form, but it is not working!
Basically trying to validate if the order query has been executed by checking if the date And Restaurant name selected has been already added to the order table.
If DCount("*", "TblDietPlan", "[MealDate] = " & Format(txtCusDate, "\#mm\/dd\/yyyy\#") & " AND (ComboSelectRestaurant = 'Watersidel'") <> 0 Then
Basically trying to validate if the order query has been executed by checking if the date And Restaurant name selected has been already added to the order table.
If DCount("*", "TblDietPlan", "[MealDate] = " & Format(txtCusDate, "\#mm\/dd\/yyyy\#") & " AND (ComboSelectRestaurant = 'Watersidel'") <> 0 Then