[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Pass a parameter to Data Report

Posted on 2000-04-19
8
Medium Priority
?
193 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:dil_line
  • 5
  • 3
8 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 2732764
0
 

Author Comment

by:dil_line
ID: 2749222
The link is not helpful for me.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 2749765
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dil_line
ID: 2751205
Adjusted points from 100 to 200
0
 

Author Comment

by:dil_line
ID: 2751206
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
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 800 total points
ID: 2751235
DR.Sections("Section1").Controls.Item(intCtrl).Caption = "Timesheet for 1999"
0
 

Author Comment

by:dil_line
ID: 2751264
Great thanks. I will try it later and let you know.

Dilantha
0
 

Author Comment

by:dil_line
ID: 2765623
It works fine. Thanks alot.

Dilantha
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

873 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