xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

UsrRdd_ID()

Queries the ID of a user-defined RDD.

Syntax

UsrRdd_ID( <nWA>|<pWA> ) --> RddID

Arguments

<nWA>
This is the numeric work area identifier of a work area maintained by a user-defined RDD.
<pWA>
Alternatively, the work area pointer as passed from internal functions of the RDD system can be specified.

Return

The function returns the ID of the user-defined RDD maintaining a work area. When the RDD of the current work-area is not a user-defined RDD, the return value is NIL.

Description

UsrRdd_ID() determines the ID of a user-defined RDD from a work area ID. The return value is required for function UsrRdd_RddData() which queries data attached the user-defined RDD.

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

Info

See also:RddRegister(), UsrRdd_AreaResult(), UsrRdd_RddData(), 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