M
Martin Prunty
I am trying to create a query that counts records using a range of date
parameters. After uploading the query, I receive the following error message:
ADODB.Command error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name
or ordinal.
E:\KUNDEN\HOMEPAGES\20\D154470220\INFONET_DATABASE_INTERFACE\QUERY_BY_MONTH\../../_fpclass/fpdbrgn1.inc, line 136
Following is the query. Can you help me fix this? Thanks.
PARAMETERS [Enter Start Date:] DateTime, [Enter End Date:] DateTime;
SELECT Results.Insurance_Company, Results.Timestamp, Results.Branch_Dept,
Results.Claim_Number, Results.Requester, Results.Requester_Telephone,
Results.Requester_Email, (Select Count(*) from Results AS Results_1 WHERE
Results_1.Insurance_Company=Results.Insurance_Company) AS [Count]
FROM Results
WHERE (((Results.Timestamp) Between [Enter Start Date:] And [Enter End
Date:]))
ORDER BY Results.Insurance_Company, Results.Timestamp;
parameters. After uploading the query, I receive the following error message:
ADODB.Command error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name
or ordinal.
E:\KUNDEN\HOMEPAGES\20\D154470220\INFONET_DATABASE_INTERFACE\QUERY_BY_MONTH\../../_fpclass/fpdbrgn1.inc, line 136
Following is the query. Can you help me fix this? Thanks.
PARAMETERS [Enter Start Date:] DateTime, [Enter End Date:] DateTime;
SELECT Results.Insurance_Company, Results.Timestamp, Results.Branch_Dept,
Results.Claim_Number, Results.Requester, Results.Requester_Telephone,
Results.Requester_Email, (Select Count(*) from Results AS Results_1 WHERE
Results_1.Insurance_Company=Results.Insurance_Company) AS [Count]
FROM Results
WHERE (((Results.Timestamp) Between [Enter Start Date:] And [Enter End
Date:]))
ORDER BY Results.Insurance_Company, Results.Timestamp;