Problem with dAvg syntac

N

NNlogistics

I want to be able to look at the average of a field when there is a entry in
another field and again when there is no entry in the other field.

So for no entry in "fldSupplierID
=DAvg("[TurnAroundTime]","qryQualityListRepairsShippedByDate","[fldSupplierID]is null") ' which seems to work?

and for an entry in "fldSupplierID". If the above worked the
=DAvg("[TurnAroundTime]","qryQualityListRepairsShippedByDate","[fldSupplierID]not isnull")
Doesnt

Any suggestions
 
K

Klatuu

It should be:
","[fldSupplierID] is not null")

IsNull is a VBA function. For SQL it is Is Not Null
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top