D
DougNWa
I am working on a client appointment query with Client Id, name in one table,
and Appointment date, status, notes, client id for indexing in the
Appointment Table.
I need to make the query compare appointment date from most current to the
previous to see if 6 more weeks have past, if so check the status to see if
its pending, cancelled or rescheduled.
I've played with the DateDiff function and it helps some, and read some were
that I might need to have the same two tables in the query twice to compare
one date to the previous. So far I haven't mastered how best to do this
(feel like I chasing my tail). I like to have it not do the query if there's
one date, do to it being the first appointment.
Thanks in advance.
and Appointment date, status, notes, client id for indexing in the
Appointment Table.
I need to make the query compare appointment date from most current to the
previous to see if 6 more weeks have past, if so check the status to see if
its pending, cancelled or rescheduled.
I've played with the DateDiff function and it helps some, and read some were
that I might need to have the same two tables in the query twice to compare
one date to the previous. So far I haven't mastered how best to do this
(feel like I chasing my tail). I like to have it not do the query if there's
one date, do to it being the first appointment.
Thanks in advance.