Vista Software
Tip: Quotes in Query

Quotes in Query

Applies to: Apollo VCL

How do you contstruct a query with quotes?

Use the QuotedStr() function.

e.g.
ApolloTable1.Query( 'NAME=' + QuotedStr(Edit1.Text) );
or
APolloTable1.Query( 'NAME= " '+ Edit1.Text +' " ' );

Back
Apollo Database Engines