- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

Table data subset through IProvider

Question:

How can I position a TTable and get data from that starting position from the Provider?

Answer:

Using TQuery and Provider.SetParams is preferred. However,

it is possible to do this with TTable.  First have the

client retrieve only the meta-data from the table by

setting PacketRecords = 0, then calling Open.   Next call

an automation method on the server (you must define this

method), which will cause the table to be positioned on

the desired record.  Finally, set PacketRecords to some

value greater than zero, and call GetNextPacket.



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile