Hi all,
I have a database where we schedule work and have the corresponding work order or preventative maintenance number in a field called [WO/PM #]. I am trying to make a field that will basically find the records for the certain day and if the work is scheduled and the [WO/PM #] field begins with "WO*", then I need a count of all work orders scheduled for that day. Here is my syntax that is returning a value of 0.
=IIf([Scheduled]=Yes & [WO/PM #]="WO*",DCount("WO*","[WO/PM #]"),0)
Can someone assis?
Thank you,
Liz

I have a database where we schedule work and have the corresponding work order or preventative maintenance number in a field called [WO/PM #]. I am trying to make a field that will basically find the records for the certain day and if the work is scheduled and the [WO/PM #] field begins with "WO*", then I need a count of all work orders scheduled for that day. Here is my syntax that is returning a value of 0.
=IIf([Scheduled]=Yes & [WO/PM #]="WO*",DCount("WO*","[WO/PM #]"),0)
Can someone assis?
Thank you,
Liz