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 v6.11 - set expression engine http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SET EXPRESSION ENGINE
 Enable or disable the Advantage Expression Engine
------------------------------------------------------------------------------

 Syntax

     SET EXPRESSION ENGINE ON | off

     ENGINE ON enables the Advantage Expression Engine. EXPRESSION ENGINE
     ON is the default.

     ENGINE OFF disables the Advantage Expression Engine.

 Description

     Advantage can perform certain CA-Clipper operations, such as index
     creation and SET FILTERs, completely on the server using the Advantage
     Expression Engine. The Advantage Expression Engine is used to parse
     and evaluate expressions in CA-Clipper commands. These commands may
     cause the server utilization to increase. If you prefer not to
     have these commands executed on the server (at the penalty of a severe
     performance decline), you can turn the Advantage Expression Engine OFF
     with this command.

     Any INDEX or SET FILTER commands not executed on the server because of
     SET EXPRESSION ENGINE being turned OFF, result in a warning passed
     into AX_ExprError(). However, the INDEX or SET FILTER command is
     completed by doing the execution on the client. The error is returned
     to notify you of where the command is actually being executed.

 Example

     #include "DBFNTXAX.CH"

     USE test VIA "DBFNTXAX"
     SET EXPRESSION ENGINE OFF     // Turn Expression Engine OFF

     INDEX ON lastname TO slow     // Index built on client

     SET EXPRESSION ENGINE ON      // Turn Expression Engine ON

     INDEX ON firstname TO fast    // Index built on server


See Also: AX_ExprEngine() AX_ExprError()

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