I'm really stuck on this one and need your expertise. I have a simple query which checks to see if someone is current on their maintenance for the year. The problem is sometimes they purchase more than one item and don't always purchase maintenance for the other items.
How can I return a 'current' value for all their purchases regardless of the other values. In short, if they have even one item as current, the whole field needs to read current.
It appears to be working for customers who only make one purchase, but customers who make more than one it returns a value for each purchase. I need to group all these as one and if even one of them is current then all are current.
Does that make sense?
Code:
Maintenance: IIf([Invoice Data]![Maint End:]<Date() Or [Invoice Data]![Maint End:] Is Null,"Expired","Current")
It appears to be working for customers who only make one purchase, but customers who make more than one it returns a value for each purchase. I need to group all these as one and if even one of them is current then all are current.
Does that make sense?