Solved

Forward value to Rapport

Posted on 2004-04-26
6
125 Views
Last Modified: 2010-05-02
I have a query that asks for two dates and then it chooses some fields from a table and opens a rapport.
In this rapport as a header i wanna have those two dates that you put in to the query, how is this possible?

Thanks
Robert
0
Comment
Question by:illion
  • 4
  • 2
6 Comments
 
LVL 9

Expert Comment

by:p_sie
ID: 10918207
Is this a VB datareport?
0
 

Author Comment

by:illion
ID: 10918232
Ohh im sorry, im working in Microsoft Access, so i guess its a  VB report.
0
 
LVL 9

Expert Comment

by:p_sie
ID: 10918678
I am still not sure what kind of report it is, is this an access report or a report that you add in a VB project (NOT VBA)?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:illion
ID: 10918707
Its a report in Microsoft Access, i havent written any code, its all just point and click. Access Report.
0
 
LVL 9

Accepted Solution

by:
p_sie earned 50 total points
ID: 10918725
If it is a VB project then

In the header of the report add a field with the caption '%i' (percent + i)

Call somewhere in the code:
dtReport.Title = "Dates " & date1 & " and" & date2
dtReport.Show 1

Where dtReport is the name of the report in code!
0
 
LVL 9

Expert Comment

by:p_sie
ID: 10918730
Access I don't know, sorry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

919 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

15 Experts available now in Live!

Get 1:1 Help Now