Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / January 2008

Tip: Looking for answers? Try searching our database.

Problem with dAvg syntac

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
NNlogistics - 31 Jan 2008 15:33 GMT
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
Signature

Thanks for any assistance

Klatuu - 31 Jan 2008 18:08 GMT
It should be:
","[fldSupplierID] is not null")

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

Dave Hargis, Microsoft Access MVP

> 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.
[quoted text clipped - 7 lines]
>
> Any suggestions
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.