Progress
ADM 2 Reference


serverContainedSendRows (sbo.p)

Receives the SmartDataObject ObjectName and runs SendRows in that, returning the RowObject table. Server-side SmartBusinessObject version of serverSendRows.

Parameters:

INPUT piStartRow AS INTEGER

The RowNum value of the record to start the batch to return. Typically piStartRow is ? as a flag to use pcRowIdent instead of piStartRow.

INPUT pcRowIdent AS CHARACTER

The RowIdent of the first record of the batch to return. Can also be "FIRST" or "LAST" to force the retrieval of the first (or last) batch of RowObject records.

INPUT plNext AS LOGICAL

TRUE if serverSendRows() is to start on the record after the one indicated by piStartRow or piRowIdent.

INPUT piRowsToReturn AS INTEGER

The number of rows in a batch.

INPUT pcObjectName AS CHARACTER

The ObjectName of the SmartDataObject to get data from.

OUTPUT piRowsReturned AS INTEGER

The actual number of rows returned. This number will either be the same as piRowsToReturn or less when there are not enough records to fill up the batch.

OUTPUT TABLE-HANDLE phRowObject

The batch of rows in the RowObject table.

Returns: Nothing (procedure)

Notes: None


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095