Thanks for all the help. We have managed to get the correct syntax for our SQL. We thought we'd share our solution as reference for anybody else.
We are using Crystal Reports 2011 with a ClearSCADA ODBC Database.
SELECT TOP(5)
Name, RecordTime
FROM
CDBPoint JOIN CDBHistoric ON...
Yes we saw that and have tried many conversion methods without success. We are looking for the correct syntax to any solution. All our solutions havn't worked mainly due to syntax.
Hi
Unfortunately the error I get with that is:
SQL Command As Typed:
SELECT TOP(5)
Name, RecordTime
FROM
CDBPoint JOIN CDBHistoric ON (CDBPoint.Id = CDBHistoric.Id)
WHERE
(CDBPoint.Name LIKE 'M10%')
AND
(CDBHistoric.RecordTime > '19/03/2013 13:54:42.679')
*** Prepare failed...
Hi. Thanks for the reply. Unfortunately that was unsuccessful as well. It gave us the error:
SQL Command As Typed:
SELECT TOP(5)
Name, RecordTime
FROM
CDBPoint JOIN CDBHistoric ON (CDBPoint.Id = CDBHistoric.Id)
WHERE
(CDBPoint.Name LIKE 'M10%')
AND
(CDBHistoric.RecordTime...
Good day
Could anyone please help us if possible. We are struggling with one section of our SQL in Crystal Reports 2011.
We are adding in commands into Crystal Reports to populate our custom report with commands such as:
SELECT TOP(5)
Name, RecordTime
FROM
CDBPoint JOIN CDBHistoric...