CCFXQuery::SetQueryString  
 
 
void CCFXQuery::SetQueryString(LPCSTR lpszQuery)

Sets the query string which will displayed along with the query debug output. For queries generated by the DBQUERY tag , this is the SQL statement. For your custom tag, it may be something different, or you may not want to display a query string at all.

lpszQuery

Text of query string.

 
 
  Example  
 

The following example is from a hypothetical custom tag that does directory browsing based on a command string passed to the tag:

LPCSTR lpszDirListCommand =
        pRequest->GetAttribute("COMMAND") ;
 
...Create a query (pQuery) and populate it with the
contents of the directory listing...
 
pQuery->SetQueryString( lpszDirListCommand ) ;


 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.