project BLF > class BCustom > method ApiSelectCustom

Description

Make sure you only add one table to the output dataset AND that the table name is tqApiSelectCustom.


Parameters


icRangeinputcharacterRange of rows to return ('A'll, 'F'irst, 'L'ast)
icRowidinputcharacterwhen iiNumber is not zero, give the value of the tc_rowid field of last row of previous result set
iiRowNuminputintegerwhen iiNumber is not zero, give the value of the ti_sequence field of last row of previous result set
iiNumberinputintegerwhen icRange is 'A', give maximum number of rows to retrieve (zero = unlimited)
icSortColumnsinputcharacter
ilCountOnlyinputlogicalwhen true, only return number of records in the resultset
ilForwardReadinputlogicalwhen false, return records in reverse order
iiMaximumBrowseRecordsToCountinputintegerWhen ilCountOnly is true, stop counting when this number is reached (zero = do not count anything)
tFilterinputtemp-table
oiCountoutputintegerreturn number of records in resultset (when ilCountOnly = true)
olEndOfQueryoutputlogicalquery returned last record of the result set
ozApiSelectCustomoutputdataset-handle
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


unused


program code (program1/bcustom.p)