next dates in report (1 Viewer)

adi32

Registered User.
Local time
Today, 22:59
Joined
Dec 6, 2000
Messages
82
I have a report with a query and I want to give a date and in the report I want to have fields like headings with the next 10 days
Ex I give 1/1/04
And in the report I want to have
1/1/04 2/1/04………….10/1/04
I tried to add fields like [date]+1 [date]+2……. But it doesn’t work
 

ColinEssex

Old registered user
Local time
Today, 22:59
Joined
Feb 22, 2002
Messages
9,134
Might be way off here but can't you do this in a crosstab query?

Col
 

Loolaa

Registered User.
Local time
Today, 22:59
Joined
Jun 17, 2004
Messages
14
try using VBA, I know that this works


Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer)

Dim DateVar As Date

DateVar = InputBox("Enter Date")

Me!Text1 = DateVar
Me!Text2 = DateVar + 1
Me!Text3 = DateVar + 2
Me!Text4 = DateVar + 3

End Sub

L
 

Users who are viewing this thread

Top Bottom