dbmnycopy

Description

Copy a DBMONEY value.

Syntax

RETCODE dbmnycopy(dbproc, src, dest)
 
DBPROCESS    *dbproc;
DBMONEY        *src;
DBMONEY       *dest;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and the server.

This parameter may be NULL. The DBPROCESS is used as a parameter to an application’s error handler. It also contains information on what language to print error messages in. If a DBPROCESS is not supplied, the default national language is used.

src

A pointer to the source DBMONEY value.

dest

A pointer to the destination DBMONEY variable.

Returns

SUCCEED or FAIL.

dbmnycopy returns FAIL if either src or dest is NULL.

Usage

See also

dbmnycopy, dbmnyminus, dbmny4minus