Here is the query I am trying to run with a command in Crystal:
SELECT `sheet1`.`Time`, Count(`sheet1`.`ID`) As CountOfConcurrent
FROM `sheet1` `sheet1`, `Concurrent For Crystal` `Concurrent_For_Crystal`
WHERE `sheet1`.`ID`>=`Concurrent For Crystal`.`AT` and `sheet1`.`ID`<=`Concurrent For Crystal`.`TT`
GROUP BY `Sheet1`.`Time`
The data is coming from a table and a view in Access (same DB). This query runs fine in Access, but when I try to run it in Crystal it doesn't seem to like my WHERE clause and I get an error:
Query Engine Error: 'DAO Error Code: 0xbf5
Source: DAO Database
Description: Too few parameters. Expected 2.'
Any ideas how I can modify this?
SELECT `sheet1`.`Time`, Count(`sheet1`.`ID`) As CountOfConcurrent
FROM `sheet1` `sheet1`, `Concurrent For Crystal` `Concurrent_For_Crystal`
WHERE `sheet1`.`ID`>=`Concurrent For Crystal`.`AT` and `sheet1`.`ID`<=`Concurrent For Crystal`.`TT`
GROUP BY `Sheet1`.`Time`
The data is coming from a table and a view in Access (same DB). This query runs fine in Access, but when I try to run it in Crystal it doesn't seem to like my WHERE clause and I get an error:
Query Engine Error: 'DAO Error Code: 0xbf5
Source: DAO Database
Description: Too few parameters. Expected 2.'
Any ideas how I can modify this?