If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Get parameter to SQL stored procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-09, 07:12
rhst11 rhst11 is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Get parameter to SQL stored procedure

I'm a newbie using CR10. I'm creating a report from SQL stored procedure. How can I get a parameter value and send to a variable in the stored procedure?
Reply With Quote
  #2 (permalink)  
Old 10-10-09, 10:02
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
If the stored procedure accepts parameters then it should prompt you for these values when you pick it as the data source?
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 10-11-09, 21:09
rhst11 rhst11 is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
In store procedure, it's a declared variable. Crystal report doesn't pick up this variable. What can i do?
Reply With Quote
  #4 (permalink)  
Old 10-12-09, 08:13
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
You'll have to make the stored procedure parameterised!
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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