| View previous topic :: View next topic |
| Author |
Message |
billaras1234 Guest
|
Posted: Wed Mar 30, 2005 7:52 am Post subject: remote datamodule error plz assist.. |
|
|
i have made a multi tier database program using a remote datamodule.
on the server side i have a adoquery and a dataset provider
on the client side a clientdataset
i pass command text(sql)through the client dataset (i have
poallowcommandtext)
when i want to have some result (to see some values like select from..)it
works ok
but when i put sql that doesnt return result like (insert into..) i get a
message that says
no result set can be passed...(or something )..of course thats logical
because i used insert to and not select..
is there an option i can use to stop this error message?
|
|
| Back to top |
|
 |
Emmanuel Guest
|
Posted: Wed Mar 30, 2005 11:00 am Post subject: Re: remote datamodule error plz assist.. |
|
|
using ClientDataSet->Execute() to do something other then select
"billaras1234" <billaras1234 (AT) hotmail (DOT) com> дÈëÓʼþ
news:424a5ad6$1 (AT) newsgroups (DOT) borland.com...
| Quote: | i have made a multi tier database program using a remote datamodule.
on the server side i have a adoquery and a dataset provider
on the client side a clientdataset
i pass command text(sql)through the client dataset (i have
poallowcommandtext)
when i want to have some result (to see some values like select from..)it
works ok
but when i put sql that doesnt return result like (insert into..) i get a
message that says
no result set can be passed...(or something )..of course thats logical
because i used insert to and not select..
is there an option i can use to stop this error message?
|
|
|
| Back to top |
|
 |
Mark Guerrieri Guest
|
Posted: Thu Mar 31, 2005 10:31 pm Post subject: Re: remote datamodule error plz assist.. |
|
|
| Quote: | is there an option i can use to stop this error message?
|
Add a custom method to your RDM's interface to do the work.
Mark
|
|
| Back to top |
|
 |
|