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 - aofrebuildfilter() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 aofRebuildFilter()
 Rebuilds the current system-owned Client Advantage Optimized Filter
------------------------------------------------------------------------------

Syntax

     aofRebuildFilter() -> logical

Returns

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

Description

     aofRebuildFilter is used to rebuild the system-owned Advantage
     Optimized Filter to reflect updates to shared files.

     If the filter that is rebuilt is not fully optimized, and the
     "Auto Resolve" setting is ON (see aofSetAutoResolve() for more
     information), then the filter will be automatically resolved into
     a fully optimized filter.

Example

     // Create a system-owned filter
     aofSetFilter( "state = 'CA'" )

     // Browse the records where the state is 'CA'
     Browse()

     // Rebuild the filter to reflect any new or updated records where
     // state = 'CA'
     aofRebuildFilter()

     // Browse the records where the state is 'CA'
     Browse()


See Also: aofSetFilter() aofReFilter() aofGetAutoResolve()

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