Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

App crash on exit using Client Data Sets

Status
Not open for further replies.

FrankThynne

Technical User
May 29, 2001
36
GB
I'm experimenting with migrating from TSQL queries to TDatasetProvider and TClientDataset. The provider objects still look at TSQL queries. The data is in Paradox tables.

Thus, whereas I previously had

TSQL object (with TUpdateSQL object)
TDataSource

I now have

TSQL object (with TUpdateSQL object)
TDataSetProvider
TClientDataSet
TDataSource

The TUpdateSQL objects are needed because the queries involve joins, so I have to specify which table to update.

The TDataSetProviders and TClientDatasets have default options.

At last I have proper refreshing of queries with joins, but the application now sometimes crashes on exit after posting a change, applying updates and refreshing the dataset. The error isn't always the same (variously write to illegal address, error in unknown, error in kernel).

Any idea what I've forgotten to do?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top