Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Advantage CA-Clipper Guide v5.5 - ax_getaofexpr() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_GetAOFExpr()
 Returns the filter expression in the current active Server Advantage
 Optimized Filter
------------------------------------------------------------------------------

 Syntax

     AX_GetAOFExpr() -> charstring

 Returns

     Returns a character string filter expression used in the active
     Advantage Optimized Filter that was create on the server.  If the
     operation was unsuccessful, an empty string ("") is returned, and
     AX_Error() will return information on why the operation failed.

 Description

     AX_GetAOFExpr() returns the filter expression in the current active
     Server Advantage Optimized Filter.  A Server Advantage Optimized Filter
     is created via the AX_SetServerAOF() API.

 Example

     USE Accounts INDEX state VIA "DBFCDXAX"

     // Create an AOF on the server
     AX_SetServerAOF( "state == 'CA'", .F. )

     // List all records where state is California
     LIST state

     // Display the AOF filter expression.  Should display "state == 'CA'".
     ? AX_GetAOFExpr()


See Also: AX_SetServerAOF() AX_GetAOFOptLevel() AX_GetAOFRecordCount()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson