xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

UsrRdd_RddData()

Queries or attaches user-defined data a user-defined RDD.

Syntax

UsrRdd_RddData( <nRddID>, [<xNewData>] ) --> xOldData

Arguments

<nRddID>
This is the numeric identifier of a user-defined RDD. It is returned from function UsrRdd_ID().
<xNewData>
This optional parameter holds arbitrary data of any data type to attach to a user-defined RDD.

Return

The function returns the previous data attached to the user-defined RDD.

Description

Function UsrRdd_RddData() is used to attach user-defined data to the user-defined RDD. Such data is usually an array or an object. The function is normally called in the initialization routine of the user-defined RDD.

Refer to the PRG files in \source\rdd\usrrdd\rdds for examples of attaching user-defined data to a user-defined RDD.

Info

See also:UsrRdd_AreaData(), UsrRdd_AreaResult(), Select()
Category: Database drivers , User-defined RDD , xHarbour extensions
Header:usrrdd.ch
Source:rdd\usrrdd\usrrdd.c
LIB:lib\xhb.lib
DLL:dll\xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe