Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL

Status
Not open for further replies.

ribbons

Technical User
Apr 26, 2007
113
US
Hi

I have CR XI pulling against an Access database.

Can anyone tell me what the syntax for SQL is in CR XI?

I have tried single quotes, as in CR X, but I get an error message.

Code:
SELECT 'TestName' FROM 'Germreadings' Where 'Testname' = "Germination"

I have also tried using the formula editor

Code:
 SELECT `GermReadings`.`testname` FROM `Germreadings` WHERE `GermReadings`.`TestName` = 'Germination'

I get with both an error message:

Code:
 Error in compiling expression.  Syntax error in query expression

Anyone know what this means?

ribbons

 
Are you trying to do this in the SQL expression area? You should instead be using the syntax in your second code sample in the database->your datasource->add command area.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top