?
Solved

Pass a parameter to Data Report

Posted on 2000-04-19
8
Medium Priority
?
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month12 days, 7 hours left to enroll

777 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