Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing parameters to StoreProcedure from within VB??

Status
Not open for further replies.

vlad2

Programmer
Joined
Jan 9, 2002
Messages
56
Location
US

I created report based on SP, which takes two params,(FromDate ----TODAte)Could anybody give me an example how to send paramenters from vb.

Thanks in advance..
 
There is a property called parameterfields in the RDC library. It shud be something like this:
<font color=blue>
Private Report as Craxdrt.Report

Report.parameterfields(1).AddCurrentValue FromDate
Report.ParameterFields(2).AddCurrentValue ToDate

 
thanks.. it works!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top