Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Return a stored procedure value to Excel

I have a stored procedure that returns a single value from an SQL table, uses
that value to wite data into another SQL table and increments the original
value by 1.

I can invoke the procedure from excel using ADO, but I can't return the
value into excel for further processing. Can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Return a stored procedure value to Excel

You need to look at the Parameters of the ADODB.Command object.
And the .Direction of each Parameter you set.

NickHK

"nurkus" wrote in message
...
I have a stored procedure that returns a single value from an SQL table,

uses
that value to wite data into another SQL table and increments the original
value by 1.

I can invoke the procedure from excel using ADO, but I can't return the
value into excel for further processing. Can anyone help?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data return from SQL Stored procedure... Jonathon Shull Excel Discussion (Misc queries) 0 July 29th 08 04:25 PM
OLEDB - INSERT INTO Excel FROM Stored Procedure DevInstinct Excel Programming 2 November 4th 05 08:50 PM
execute stored procedure from excel maxzsim Excel Worksheet Functions 3 May 11th 05 04:58 PM
Getting stored procedure result to excel mkarja[_2_] Excel Programming 9 March 9th 05 12:56 PM
Run a stored procedure in Excel 2K ArthurB Excel Programming 0 February 26th 04 04:46 PM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"