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

TRANSFER( cSource, cTarget [, xcCondition ] )

Purpose

Copy or move data from one table to another.

Arguments

     cSource -- source table

     cTarget -- destination table

     xcCondition -- expression which selects records to copy (to be
                    macro-expanded for each record)

     lNoMenu -- if passed and .T.; append to cTarget if it already exists;
                defaults to offering a menu so the user may choose to add
                to or overwrite cTarget if it already exists

Setup

At least some fields must be common to both tables; condition, if passed,
is a valid logical expression when macro-expanded.

Example

     TRANSFER( "ORDERS", "INVOICES", "PAID" )

Returns

.T. if transfer is successful, else .F.

Side Effects

Crash on bad parameters.

Artful Calls

V_MENU, GET_FILE, VERIFY, MSG

Source File

AA_XFER.PRG, AM_XFER.PRG

Notes

This function is a generalised record-transfer mechanism.

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