Recent

Author Topic: Delphi ClientDataSet equivalent  (Read 6317 times)

zyzmo

  • New Member
  • *
  • Posts: 41
    • My Website
Delphi ClientDataSet equivalent
« on: February 04, 2016, 08:13:47 pm »
Hello folks!

I have just a question: What's the lazarus equivalent of Dephi ClientDataSet?

Seya
<!-- Requirement Engineer -->

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12842
  • FPC developer.
Re: Delphi ClientDataSet equivalent
« Reply #1 on: February 04, 2016, 08:56:53 pm »
If I understood it correctly TBufDataset.

zyzmo

  • New Member
  • *
  • Posts: 41
    • My Website
Re: Delphi ClientDataSet equivalent
« Reply #2 on: February 05, 2016, 01:42:32 pm »
If I understood it correctly TBufDataset.
I wasn't talking about temporary tables, I'm talking about "cached query" components to modify or insert data onto database.

Seya



<!-- Requirement Engineer -->

LacaK

  • Hero Member
  • *****
  • Posts: 703
Re: Delphi ClientDataSet equivalent
« Reply #3 on: February 05, 2016, 02:34:09 pm »
TClientDataSet is just a client dataset.
You need TDataSetProvider to provide data for client dataset.

So standalone TClientDataSet does not have relation to any database or application server.

As Marco said equivalent in FPC is TBufDataSet.

If you need connection to SQL  database, then you can use in FPC for example: TSQLConnection + TSQLQuery

zyzmo

  • New Member
  • *
  • Posts: 41
    • My Website
Re: Delphi ClientDataSet equivalent
« Reply #4 on: February 05, 2016, 04:56:38 pm »
Thanks, now I found a solution. I used to develop everything only by "drag and drop", so I had some throubles with deadlock because the same record were in use by another instance of application etc;

Sorry about anything
Seya!
<!-- Requirement Engineer -->

 

TinyPortal © 2005-2018