Hi all,
I have a report which is meant to show upcoming appointments with some information about the appointment (day, date, time, and which eye the appointment is for). All information in this report is drawn from one query.
The table in which dates are stored (Appointment) allows storage of two different types of date (ApptDate and RevDate), each of which need to be displayed separately. I've circled these in red in the picture of the query design below. The same table stores information about which eye the appointment is for. I've circled this in blue. Every entry in the Appointment table will have a value of either Left or Right for eye, however, each individual entry can have a value only for ApptDate or RevDate not both.
This is causing a problem in my report. In the section of the report pictured below I only want to show appointment information where there is an ApptDate, and not where there is a RevDate. The report is putting in a line at the start because there is a RevDate value in a row in the Appointment table containing Eye information. When it tries to calculate the Weekday it returns an error because there is a null value in the ApptDate.
Is there a way to prevent the report from including rows where there is no ApptDate value?
Any help would be appreciated.
Thanks, Adrian.
Report:
Query: