EPUB | CHM | PDF

TDataSet.Properties.MultiResultsetNo

Top Previous Next

note Since v2.5.3

Specifies the resultset to associate with component when it become active. This property is useful when query or stored procedure returns more than one dataset.

Syntax:

property MultiResultsetNo : integer

Description:

Set MultiResultsetNo to number of resultset you want to get from query or stored procedure that returns more that one result set. EmySQLException is raised if this value is less then number of resultsets returned by server. You can use AvailableResultsetCount property to inspect how many resultsets are returned by query or stored procedure.

Numbers of resultsets are counted from zero. So first resultset has number 0, second has number 1, ..., latest has number AvailableResultsetCount - 1

See also: AvailableResultsetCount property