Hi,
I am making a food ordering application and i am having some trouble. Here is the need,
All the employee should order food before every wednesday at 11:00 AM for next week and they are allowed to order food for all the upcoming weeks also.
they should not be allowed to order food for the same week and also after 11:00 on wednesday they are not allowed to order for next week. how can we achieve it.
I tried to make this condition
If(WeekNum(DatePicker1.SelectedDate) > WeekNum(Now()) && Weekday(DatePicker1.SelectedDate)<3,"order food","Please choose other date")
by this condition, for choosing next week it works perfect, and if try to limit weekday to choose less than 3, it do the same for all the weeks.
I hope my question is clear