[View Borland Home Page][View Product List][Search This Web Site][View Available Downloads][Join Borland Online][Enter Discussion Area][Send Email To Webmaster]
Delphi Devsupport

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.

Back To Faq Index
Borland Online
Trademarks & Copyright © 1997 Borland International, Inc.