Pass a parameter to Data Report

Hi,
   Can someone tell me how to pass a parameter from a procedure to
a Data Report and print it there.

Any help is greatly appreciated.

Thankx

Dilantha
dil_lineAsked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
DR.Sections("Section1").Controls.Item(intCtrl).Caption = "Timesheet for 1999"
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
dil_lineAuthor Commented:
The link is not helpful for me.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Éric MoreauSenior .Net ConsultantCommented:
Do you want to print a variable in a control of a data report? In this case, see that one: http://support.microsoft.com/support/kb/articles/Q240/0/19.ASP?LN=EN-US&SD=gn&FR=0
0
 
dil_lineAuthor Commented:
Adjusted points from 100 to 200
0
 
dil_lineAuthor Commented:
Yes I want to print a variable in a label in the header section of the report.

The contents in the link looks positive and I will try to follow them.

Do you know how to pass a parameter into the report ?

- I have to pass the year from a procedure. (ex. 1999)
- The report should capture this value and print it once
       in the header section.

Ex:-  Timesheet for 1999


Thanks a lot for your help so far.
0
 
dil_lineAuthor Commented:
Great thanks. I will try it later and let you know.

Dilantha
0
 
dil_lineAuthor Commented:
It works fine. Thanks alot.

Dilantha
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.