Solved

Forward value to Rapport

Posted on 2004-04-26
6
126 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 55
Help with retrieving partial value from a column using VB.NET 4 48
MsgBox 4 61
Export Data to Different .csv Files 26 105
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

803 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