Master / Detail / TClientDataSet

Garron

Member
Hi there

I have a problem with a Master / Detail relationship. Using a TOracleQuery and TOracleProvider on the Server side and TClientDatasets on the client side. Now if I open the master by using a -1, no records are returned when I use a valid id to open again, I then need to call GetNextPacket twice before the detail is displayed. If however I open the master using a valid record id then I only have to call GetNextPacket once. Once the detail has retrieved data I only ever have to call GetNextPacket once, regardless of whether I use -1 and then a valid id.

This all works fine using a normal TQuery and Provider.

Any ideas.

Thanks

Garron Mosley
 
You should not use TOracleQuery and TOracleProvider. You can use TOracleDataSet ad TDataSetProvider instead.
 
Back
Top