Hello everyone,
In my database I have a field for supplies with multivalue field. It has to be done this was since it's one order with multiple supplies that can be selected. I ran a query to pull all the orders between two dates. I need it to count all the orders as one section, all machines as another, and then all supplies as the last. The order part works since i'm counting the actual order number. Since machines and supplies are multivalue fields it's counting each supply and each machine instead of just the order that has machines.
Example: There are 4 orders. 1 order is for machines and 3 are for supplies. with dcount its counting 4 orders, 1 machine, and 22 supplies (more than one supply per orer). Any idea how I can get it to count the field and not each supply or machine separately in the order?
This is what I have so far:
=DCount("[Machines]","Current Query",Not Null)
=DCount("[Supplies]","Current Query",Not Null)
=DCount("[Order ID]","Current Query")