SetData

PowerBuilder Native Interface

IPB_RSItemData interface:

SetData method

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 Values

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