Language Reference Guide : System Classes : SQLSelect Class : QueryName Attribute
 
Share this page          
QueryName Attribute
Data Type: varchar(32)
4GL Access: RW
The QueryName attribute specifies the name used by the server for cursors and repeat queries. If the DataStream's QueryMode is QY_CURSOR, or the isrepeated parameter is set to TRUE during a database operation, then this attribute is mandatory.
To ensure that a repeat query does not use stale values still cached in the database server, the value of this attribute should be changed whenever the query object is modified.