xHarbour Reference Documentation > Function Reference |
Queries or attaches user-defined data to a work area of a user-defined RDD.
UsrRdd_AreaData( <nWA>|<pWA>, [<xNewData>] ) --> xOldData
The function returns the previous data attached to the work area.
Function UsrRdd_AreaData() is used to attach user-defined data to the work area maintained by a user-defined RDD. Such data is usually an array or an object holding state variables of a work area. The function is normally called in response to the USE command, when a table is opened in a work area. User-defined data is discarded automatically when the work area is closed.
Refer to the PRG files in \source\rdd\usrrdd\rdds for examples of attaching user-defined data to a work area.
See also: | UsrRdd_RddData(), 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 |
http://www.xHarbour.com