Questions tagged [midas-server]

Midas Server is a component of Delphi Internet Express.

http://edn.embarcadero.com/article/10442

14 questions
7
votes
2 answers

TClientDataSet uses too much memory for string fields

I was triggered to ask this question when trying to support this question with an MCVE. I recently started noticing that TClientDataSet quickly runs out of memory. I had an issue in production where it couldn't load a dataset with about 60.000,…
GolezTrol
  • 114,394
  • 18
  • 182
  • 210
7
votes
2 answers

Datasnap : Is there a way to detect connection loss globally?

I'm looking to detect local connection loss. Is there a mean to do that, as with the events on the Corelabs components ? Thanks EDIT: Sorry, I'm going to try to be more specific: I'm currently designing a prototype using datasnap 2009. So I've got a…
Fred
  • 1,607
  • 20
  • 33
4
votes
3 answers

Read a Delphi TClientDataset Files with .NET

I need to read Files that are written with the TClientDataset class from Delphi with .NET Code. The Solution mentioned here does not work for me.
Noffls
  • 5,397
  • 2
  • 29
  • 36
3
votes
1 answer

How to calculate the time-length of a midi-file

I am reading midi files in as3 (flash cs5) with the help of the helpful library that is called midas ( http://code.google.com/p/midas3/) - the midi-as3 library. I am trying to figure out a simple way to calculate the whole duration of the midi file…
Alon
  • 7,618
  • 18
  • 61
  • 99
3
votes
1 answer

How to find the "foreign key" field name on a nested TClientDataSet?

Given a nested TClientDataSet, how could I find the link field name on the detail TClientDataSet? I'm copying data from one TClientDataSet to another (record by record) and I would like to automatically ignore the link field. I could also copy the…
Valdir
  • 31
  • 1
  • 4
2
votes
1 answer

TBlobField.OldValue always show null in BeforeUpdateRecord and AfterUpdateRecord event

I have a simple dataset with the following structure: Server.FieldDefs.Add('Code', ftString, 5); Server.FieldDefs.Add('Memo', ftMemo, 0); Server.FieldDefs.Add('Blob', ftBlob, 0); The Dataset has one record. I then fetch the dataset via…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
2
votes
3 answers

Handling update errors in multiple records in the TClientDataset's ReconcileError method

I'm trying to use the ReconcileError event to allow the user to correct the data after an update error which occurred in a specific record among others. Example: I have a dataset with one field and 3 records, this field have a unique constraint on…
Fabio Gomes
  • 5,914
  • 11
  • 61
  • 77
2
votes
2 answers

DUnit Testing in a Midas/DataSnap project

How does one setup DUnit Testing in a Midas/DataSnap project in Delphi 2006 Edit How does one set up a Dunit Test into a TRemoteDataModule The project wizard in Delphi 2006 does not work with TRemoteDataModule
Charles Faiga
  • 11,665
  • 25
  • 102
  • 139
1
vote
2 answers

Delphi 6 with ADO + Oracle returns NUMBER with different precision, generating BCD overflow

I'm having a problem with Delphi 6 + Oracle 10gR2 + ADO + ClientDataSet. Whenever I run a aggregate function on a field NUMBER(19,9), the resulting column returns a NUMBER datatype to Delphi, and on some machines it loads as a TBCDField with a…
Pascal
  • 2,944
  • 7
  • 49
  • 78
0
votes
4 answers

Temporary table resource limit

i have two applications (server and client), that uses TQuery connected with TClientDataSet through TDCOMConnection, and in some cases clientdataset opens about 300000 records and than application throws exception "Temporary table resource…
Jk.
  • 443
  • 1
  • 3
  • 8
0
votes
4 answers

How to use TClientDataSet to locate containing string

I'm using Delphi 2007. I know I can use the .locate method of a TClientDataSet to locate a record, like this: myClient.locate('name','John',[loPartialKey,loCaseInsensitive]); But let's say I want to locate any record with 'John' containing on its…
delphirules
  • 6,443
  • 17
  • 59
  • 108
0
votes
1 answer

Fetching multiple nested datasets in Delphi DataSnap

I have Delphi client-server application that uses DataSnap. On client side I have a chain of nested client datasets (cdsMaster -> cds1 -> cds2 -> cds3). TDM = class(TDataModule) cdsMaster: TClientDataSet; cdsMaster_cds1: TDataSetField; cds1:…
Sergey40a
  • 3
  • 2
0
votes
1 answer

TSQLConnection will not open on iOS device once deployed to the App Store

After deploying my app to apple Store and testing it with "TestFlight" the app won't open an SQLConnect connection, I get an external exception (434C4E47432B2B00). But if I deploy the app directly to my devices (iPhone, iPad, simulator) the…
user734781
  • 273
  • 1
  • 9
  • 19
-3
votes
1 answer

How to correctly keep TAniIndi and a ListView responsive with a thread while Querying a Database on iOS?

The following code is causing my Applicatrion to crash, if I use Synchronize(GetResult); the AniIndi becomes irresponsive. I think that the problem rallies on the way the Thread is being destroyed. Can anyone please help? Type TSearchRxT =…
user734781
  • 273
  • 1
  • 9
  • 19