Originally posted by NeoPa
Some anomalies explained.
DLookup(), for reasons that don't make sense to me, is able to refer to items on the current form as well as fields from the Domain (Generally table or query) specified in the second parameter. What this DLookup() is returning then, is the controls from the form.
There is no ScheduleDate field in the [Courts] table.
Before I can give you a replacement, I need you to decide exactly what needs to be done because clearly, checking against a non-existent field doesn't make any sense.
Try to explain to me in simple English, what you want to be going on here.
Comment