Solved

How can I execute a storeprocedure returning me a value with clientdataset ?

Posted on 2008-06-23
3
177 Views
Last Modified: 2010-04-21
Hello guys,

I have a ClientDataSet and I would like to run a storeprocedure, this storeprocedure has 3 parameters.

The first one is CLI that will pass the client number
The second is FOR that will pass the supplier numer
The tird is a parameter that will return me the ID ot the number generated.

How can I do this with Tclientdataset,
thanks
0
Comment
Question by:hidrau
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
Geert Gruwez earned 500 total points
ID: 21852688
what database, what query/table component do you use

a dataset or clientdataset is just a means to attach the data to other components

the actual work is done by a query
0
 
LVL 1

Author Comment

by:hidrau
ID: 21874517
I use TclienteDataset
0
 
LVL 1

Author Closing Comment

by:hidrau
ID: 31469921
ok
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now