BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

not able to add...

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Marc Collin
Guest





PostPosted: Thu Jul 03, 2003 11:11 pm    Post subject: not able to add... Reply with quote



hi

on client side (web service, delphi 7, interbase)

i do:

CSoapDataMod.cdsVille.Append;
CSoapDataMod.cdsVille.FieldValues['VILLE'] := edtVille.text;
CSoapDataMod.cdsVille.Post;

i don't have any error

the TClientDaSet is correctely on my TSoapConnection...

when i start my program, i can saw the data i have in my table (this
table have only one data)

on server side i do in a TIBDataSet (insertsql property)

insert into TVILLE
( VILLE)
values
(:VILLE)


somebody know why nothing add in my database?

thanks

--
Borland rulez
http://pages.infinit.net/borland
Back to top
Guest






PostPosted: Wed Jul 09, 2003 10:12 am    Post subject: Re: not able to add... Reply with quote



You need to add the command :
CSoapDataMod.cdsVille.ApplyUpdates(-1);


"Marc Collin" <os2 (AT) videotron (DOT) ca> a écrit dans le message de news:
[email]3F04B83A.D894A4CD (AT) videotron (DOT) ca[/email]...
Quote:
hi

on client side (web service, delphi 7, interbase)

i do:

CSoapDataMod.cdsVille.Append;
CSoapDataMod.cdsVille.FieldValues['VILLE'] := edtVille.text;
CSoapDataMod.cdsVille.Post;

i don't have any error

the TClientDaSet is correctely on my TSoapConnection...

when i start my program, i can saw the data i have in my table (this
table have only one data)

on server side i do in a TIBDataSet (insertsql property)

insert into TVILLE
( VILLE)
values
(:VILLE)


somebody know why nothing add in my database?

thanks

--
Borland rulez
http://pages.infinit.net/borland



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.