Solved

Pass a parameter to Data Report

Posted on 2000-04-19
8
180 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 69

Expert Comment

by:Éric Moreau
Comment Utility
0
 

Author Comment

by:dil_line
Comment Utility
The link is not helpful for me.
0
 
LVL 69

Expert Comment

by:Éric Moreau
Comment Utility
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
 

Author Comment

by:dil_line
Comment Utility
Adjusted points from 100 to 200
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:dil_line
Comment Utility
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 69

Accepted Solution

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

Author Comment

by:dil_line
Comment Utility
Great thanks. I will try it later and let you know.

Dilantha
0
 

Author Comment

by:dil_line
Comment Utility
It works fine. Thanks alot.

Dilantha
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now