Hi Team,
In the attached test db I am having a table with data and a form to choose the criteria for reports and a query which displays the result.
In the tables in_time field I have date in general format in the form when I choose the date field and Shift combo box field (troublesome area) I am having three drop downs day,evening and night.. Day refers to time between 7am to 3pm on the same date, evening refers to 3pm to 11pm on the same day but when comes to night it starts with 11pm on the same date and ends by 7 am on the next day.
In the given form if I choose a date and select a shift the query should display correct results ( in this case 26th night shift should be only 1 record) but I am unable to get it could you assist. I have done lot of workaround and finally collapsed
In the attached test db I am having a table with data and a form to choose the criteria for reports and a query which displays the result.
In the tables in_time field I have date in general format in the form when I choose the date field and Shift combo box field (troublesome area) I am having three drop downs day,evening and night.. Day refers to time between 7am to 3pm on the same date, evening refers to 3pm to 11pm on the same day but when comes to night it starts with 11pm on the same date and ends by 7 am on the next day.
In the given form if I choose a date and select a shift the query should display correct results ( in this case 26th night shift should be only 1 record) but I am unable to get it could you assist. I have done lot of workaround and finally collapsed