Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 01-09-2018, 03:06 PM
FreakaZoid2 FreakaZoid2 is offline
Senior Member
 
Join Date: Jul 2009
Posts: 305
Default firedac and tclientdataset

I already have the firedac connection/queries working in my program but now I am trying to add another component and it will only work with a clientdataset.
How do I go about adding a tclientdataset and having it tie into my existing firedac connection/queries/datasets
if I add a tclientdataset and try to use the datasource/dataset then I get an error saying no datasetprovider or datapacket found. when I add the tdatasetprovider and link it to the clientdataset I get an error about circular reference not allowed.

NOTE: When I add a TDatasetProvider and set the TClientDataset to use that provider and i point the provider to the firedac query, i lose my query data. In debug the query has the recordcount at 1 which is expected results but when i open the clientdataset my firedac query returns the number of records of 0. So by opening the clientdataset i lose my data.

Last edited by FreakaZoid2; 01-11-2018 at 10:04 PM. Reason: More Info...
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 10:34 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2018, vBulletin Solutions, Inc.