Questions tagged [tclientdataset]

TClientDataset represents an in-memory dataset implementing a database-independent dataset. It is defined in the DBClient.pas unit.

TClientDataset represents an in-memory dataset implementing a database-independent dataset. It is also known as MyBase. It is defined in the DBClient.pas unit.

299 questions
0
votes
1 answer

Is it possible to modify data in a client dataset without changing current record?

I have a TClientDataSet which stores data coming from a medical instrument. This client dataset is linked to a grid to display data in real time. My problem is, when the user is editing the data, and the instrument sends a new packet, the data which…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
0
votes
1 answer

Delphi livebinding TClientDataSet TStringGrid runtime

in Firemonkey (XE5) I created a Frame with a TStringGrid and want to add a "procedure ShowData( aClientSet:TClientSet);" in that pprocedure the rows of the Clientset shall be shown readonly with LiveBindings (TBindSourceDB ?) without knowing…
0
votes
1 answer

Delphi XE4 + Firebird 2.1 - How to Use TFloatField instead od TSingleField in ClientDataSet

I'm migrating the version of my application from Delphi 2007 to Delphi XE4 and I'm having troubles with the TSingleField from TClientDataSet. My application uses SQL to Load data into the TClientDataSet, and if I use CAST(TABLE.FIELD AS FLOAT) AS…
Leandro
  • 3
  • 2
0
votes
4 answers

"either bof or eof is true or the current record has been deleted.." error on applyupdates that contains a delete operation

I am getting this error while resolving delete operation from ClientDatset to TAdoDataset (which bound to access table). I am using Delphi 2010. My DatasetProvider between TClientDataset and TAdoDataset : object dspTarifeler: TDataSetProvider …
Serguzest
  • 1,287
  • 10
  • 18
0
votes
1 answer

Delphi ADOQuery result concatenation using ClientDataSet

I have written an application that allows a user to define a query, run it using a TADOQuery component, and save the report to their PC as an XML document (SaveAsFile passing in pfXML as the Format parameter) for offline viewing. This works…
Jeedee
  • 548
  • 5
  • 24
0
votes
1 answer

Retrieve values from a ClientDataSet

I am writing a WebService that implements 3 interfaces. One of them uses a reference to a COM Interface named Interop.XXXOra. In the public interface of Interop.XXXOra i've got the functions "GetShiftReportData" and "DoEndOfShift": int…
0
votes
1 answer

TClientDataSet.XMLData leaking memory

I´ve done a simple php script that returns a exactly xml datapacket from a mysql server over the web, based on the ClientDataset.CommandText property. procedure TMainDataModule.AbertasAfterOpen(Dataset: TDataset); begin DataSet.Tag :=…
José Eduardo
  • 323
  • 1
  • 5
  • 16
0
votes
1 answer

TClientDataset CloneCursor not working good

I'm trying to edit multiple records by cloning ClientDataset cursor. I'm not sure what am I doing wrong here. Each time I edit another record (inside new Form) all cloned cursors are reset? I'm using C++ Builder…
Tracer
  • 2,544
  • 2
  • 23
  • 58
0
votes
1 answer

How to avoid "Type mismatch in expression" in ClientDataSet Filter

The erro msg "Type mismatch in expression" appear when I run this code: CDSIndicados.Filtered := False; CDSIndicados.Filter := 'EDICOES_ID like ' +…
fmmatheus
  • 95
  • 1
  • 10
0
votes
0 answers

Performance issue with nested TClientDataSet

I have an application which uses client datasets as in memory tables, and local archive for data received from laboratory instruments. Over time, I've added a few fields to these client datasets, and in order to keep the saved data accessible, I've…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
0
votes
0 answers

Privileged Instruction when calling "Cancel" on a client dataset

This is a really interesting error indeed :) I have a child form inheriting from a base form. The base form provides all sorts of virtual;abstract; services for use by children. This form uses all of them :) one of the services is a Save/Cancel…
Andrea Raimondi
  • 527
  • 8
  • 30
0
votes
1 answer

Exception Delphi TClientDataSet, TStringStream and TWideStringField

When i try to load a Stream to a ClientDataSet i get the following exception: Mismatch in datapacket The ClientDataSet has several WideStringfields, so i tried it with an Encoding in TStringStream.Create. If i leave the Encoding out i get an…
Obl Tobl
  • 5,604
  • 8
  • 41
  • 65
0
votes
1 answer

How to apply updates of Delphi TClientDataset in specified order?

I need apply updates (ClientDataSet.ApplyUpdates) to be applied in specified order: - Delete as first - Modify as second - Insert as third They are applied in order in which they were done.
Vlada
  • 559
  • 2
  • 11
  • 27
0
votes
1 answer

Convert Delphi ClientDataSet to dfXML

I've just installed Delphi 7 for Personal Use and I'm trying to convert a delphi ClientDataSet file to dfXMLUTF8. All I really need is the xml structure. This site suggests that running 4 lines of code will generate the output I desire. Note…
skibulk
  • 3,088
  • 1
  • 34
  • 42
0
votes
1 answer

Wrong nested datasets insert order on ApplyUpdates

I have 4 ClientDataSets like this: Master ---Detail 1 ---Detail 2 ------SubDetail 2.1 - here there is a FK to Detail 1 The insert order of records on datasets is: Master, Detail 1, Detail 2, SubDetail 2.1. However, the insert order on database, when…
dsonda
  • 61
  • 3
1 2 3
19
20