K Karen831 Registered User. Local time Today, 12:35 Joined Jun 5, 2007 Messages 26 Jun 14, 2007 #1 I have a query with a check date field. In any given month, there could be 2-3 checkdates. I need the average, per month, of the number of checks issued. Can anyone help me do this in an Expression...
I have a query with a check date field. In any given month, there could be 2-3 checkdates. I need the average, per month, of the number of checks issued. Can anyone help me do this in an Expression...
D dcobau Registered User. Local time Tomorrow, 07:35 Joined Mar 1, 2004 Messages 124 Jun 15, 2007 #2 try something like the following: SELECT Avg(IIf([ckField]=-1,CInt(1),CInt(0))) AS CountField FROM tblTableName; Dave
try something like the following: SELECT Avg(IIf([ckField]=-1,CInt(1),CInt(0))) AS CountField FROM tblTableName; Dave