G
Guest
I have read previous posts, but cannot come up with a solution that works. I
have a database which tracks invoices per client. Based on this, I am trying
to create a query which returns the "plan name" with latest date the client
was invoiced, or, if the client has never been invoiced, a blank field with
the plan name. I have two tables, Invoices (primary key Invoice ID) and Plan
Table (primary key Plan ID). I've tried the Max expression, grouping by Max,
and have looked at the DMAX function, but I can't figure out how to use it.
If I use the max expression, I don't know how to include null values.
Any help is greatly appreciated.
have a database which tracks invoices per client. Based on this, I am trying
to create a query which returns the "plan name" with latest date the client
was invoiced, or, if the client has never been invoiced, a blank field with
the plan name. I have two tables, Invoices (primary key Invoice ID) and Plan
Table (primary key Plan ID). I've tried the Max expression, grouping by Max,
and have looked at the DMAX function, but I can't figure out how to use it.
If I use the max expression, I don't know how to include null values.
Any help is greatly appreciated.