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 - aoffreefilter() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 aofFreeFilter()
 Frees the memory for a user-owned Client Advantage Optimized Filter
------------------------------------------------------------------------------

Syntax

     aofFreeFilter( <nHandle> ) -> logical

     <nHandle>  Handle to an existing user-owned filter.

Returns

     Returns .T. if the operation was successful; .F. indicates it failed.
     If aofFreeFilter() failed, aofErrorCode() will return information on
     why the function failed.

Description

     Frees memory allocated for a filter that is owned by the user.

    Note:  Always free user-owned filters that are no longer being used.

Example

     USE Customer VIA "DBFCDXAX"

     // Create user-owned filter
     nHandle := aofCreateFilter( "State = 'CA'" )

     ? 'Number of records where STATE = "CA":'
     ?? aofCountRecords( nHandle )

     // Free memory allocated to filter
     aofFreeFilter( nHandle )


See Also: aofCreateFilter()

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