specialist
Programmer
Greetings-
I am trying to calculate a difference between arrays which have been defined (and work!).
I have one array which counts the total:
qryPri = "SELECT Count (Entry') as prnRecs FROM tblInfo WHERE... "
Then, I have about 10 other queries which count specifics in the total, such as :
Set qryGroup1 = db.Execute(qryPri & " WHERE Sort = ('S')...
So, my question is how would I format a query to subtract the "qryGroup1" from the query which counts all records?
Keep in mind I have about 13 other queries which need to be subtracted as well from the main query:
(Main - Group1 - Group2 - Group3 etc etc)
I am against a wall on this, any advice would be wonderful.
many thanks,
Mike
I am trying to calculate a difference between arrays which have been defined (and work!).
I have one array which counts the total:
qryPri = "SELECT Count (Entry') as prnRecs FROM tblInfo WHERE... "
Then, I have about 10 other queries which count specifics in the total, such as :
Set qryGroup1 = db.Execute(qryPri & " WHERE Sort = ('S')...
So, my question is how would I format a query to subtract the "qryGroup1" from the query which counts all records?
Keep in mind I have about 13 other queries which need to be subtracted as well from the main query:
(Main - Group1 - Group2 - Group3 etc etc)
I am against a wall on this, any advice would be wonderful.
many thanks,
Mike