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_clearserveraof() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 AX_ClearServerAOF()
 Clears an AOF that was created on the Advantage Database Server
------------------------------------------------------------------------------

 Syntax

     AX_ClearServerAOF() -> logical

 Returns

     Returns .T. if the operation was successful, .F. if not.  If the
     operation was unsuccessful, AX_Error() will return information on why
     the operation failed.

 Description

     AX_ClearServerAOF() clears an Advantage Optimized Filter (AOF)
     which was created on the Advantage Database Server by an earlier call
     to AX_SetServerAOF().  When a table is closed, any AOF associated with
     it is automatically cleared as well.

 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

     // Clear the AOF on the server
     AX_ClearServerAOF()

     // List all records for all states
     LIST state


See Also: AX_SetServerAOF()

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