RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBQuery.Text Property

Points to the actual text of the SQL query.

Pascal
property Text: string;
C++
__property AnsiString Text;

Text is a read-only property that can be examined to determine the actual contents of SQL statement. For parameterized queries, Text contains the SQL statement with parameters replaced by the parameter substitution symbol (?) in place of actual parameter values. 

In general there should be no need to examine the Text property. To access or change the SQL statement for the query, use the SQL property. To examine or modify parameters, use the Params property. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!