[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Pass a parameter to Data Report

Posted on 2000-04-19
8
Medium Priority
?
191 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
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

649 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