IPB_RSItemData interface

Description

The IPB_RSItemData interface is used as an argument to the GetItemData function of IPB_ResultSetAccessor.

Methods

The IPB_RSItemData interface has two methods: SetData and SetNull.

SetData

Description

Sets the data in an IPB_RSItemData structure when the GetItemData function of IPB_ResultSetAccessor is called and the data value is not null.

Syntax

SetData(unsigned long len, void* data)

Argument

Description

len

The length of the data

data

A void pointer to the address of the data


Return value

None.

Usage

If the cell datatype is:

  • string and decimal, the address points to a string

  • date, the address points to a PB_DateData structure

  • time, the address points to a PB_TimeData structure

  • datetime, the address points to a PB_DateTimeData structure

  • another datatype, the address points to data of the corresponding type

See also

GetItemData

SetNull

PB_DateData structure

PB_DateTimeData structure

PB_TimeData structure

SetNull

Description

Sets the data in an IPB_RSItemData structure to null when the GetItemData function of IPB_ResultSetAccessor is called and the data value is not null.

Syntax

SetNull()

Return value

None.

See also

GetItemData

SetData