Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

REPLACE_EM( acField, apValue[, lLock ] )

Purpose

To make your code independent of single- or multi-user linking, call
REPLACE_EM instead of writing REPLACE statements.

Arguments

     acField -- field name, or array or them

     apValue -- value to replace with, or parallel array of them

     lLock -- if passed, whether to lock, default .T. in multi-user
              version, ignored in single-user version.

Setup

Table must be open and selected.

Example

     REPLACE_EM( "PRESIDENT", "HAVEL" )

Returns

Single-user: .T. Multi-user: .T. if successful, otherwise .F.

Side Effects

Replaces fields.

Artful Calls

LOCKREC (multi-user only)

Source Files

AA_RPLF.PRG, AM_RPLF.PRG

See Also: RPL() RPLCHIFLDS()

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