Solved

Forward value to Rapport

Posted on 2004-04-26
6
127 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Excel VBA combine two working workbooks 8 62
Put text in a picture ASP.NET C# 2 62
Adding to a VBA? 6 78
Exit a vb6 apps when a calling it apps closes 15 53
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…

820 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