Thread View: borland.public.delphi.database
1 messages
1 total messages
Started by Maarten
Thu, 15 Nov 2007 18:24
TSoapConnection db error
Author: Maarten
Date: Thu, 15 Nov 2007 18:24
Date: Thu, 15 Nov 2007 18:24
29 lines
2072 bytes
2072 bytes
Hi,
I have made an application (3-tier) where a remote PC connects to a
webservice with a database using soap. (connection is a vodafone UMTS
1.8MBps)
For this I use a TSoapConnection - TClientDataSet - TDataSource
construction.
cds.Edit;
cds.FieldByName('IN_PROGRESS').Value :=
True;
cds.Post;
if cds.ApplyUpdates(-1) > 0 then
begin
ShowMessage('Update Failed');
end;
(cds is a TClientDataSet)
In this situation, using the ApplyUpdates always results in a Database
Timeout error.
Since loading the table is quick, I assume the problem is not the network
performance.
When I test this on a local network however, everything works just fine.
Can anyone help me on this?
Regards,
Martin
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads