weekly reports

  • Thread starter Thread starter nabs
  • Start date Start date
N

nabs

I need to get weekly reports from an accounts databasefrom access 2003how do
I get dates >=and date<= I want to be able to apply this in the report header.
thanks anyone
 
Assuming your dates are supplied to a query from the form, the query
criteria would look like:
= Forms!FormName!StartDate And <= Forms!FormName!EndDate

and the report header would look like:

= "From " & Format(Forms!FormName!StartDate, "mm/dd/yyyy") & " To " &
Format(Forms!FormName!EndDate, "mm/dd/yyyy")
 
Hi

You could ask users for a start date and end date by adding a parameter
prompt to the query.

Add this to the criteria row of the column containing the start and end dates
[Enter start date] [Enter end date]

Then add an unbound textbox to the header of the report with this as the
control source.
="Accounts from " & (Format([StartDate],"ddd dd mmmm yyyy")) & " to " &
(Format([EndDate],"ddd dd mmmm yyyy"))

Of course change the [StartDate] and [EndDate] to what they really are in
your application.

Hope this helps
 
thanks everyone Iwiil trythis out

Wayne-I-M said:
Hi

You could ask users for a start date and end date by adding a parameter
prompt to the query.

Add this to the criteria row of the column containing the start and end dates
[Enter start date] [Enter end date]

Then add an unbound textbox to the header of the report with this as the
control source.
="Accounts from " & (Format([StartDate],"ddd dd mmmm yyyy")) & " to " &
(Format([EndDate],"ddd dd mmmm yyyy"))

Of course change the [StartDate] and [EndDate] to what they really are in
your application.

Hope this helps

--
Wayne
Manchester, England.



nabs said:
I need to get weekly reports from an accounts databasefrom access 2003how do
I get dates >=and date<= I want to be able to apply this in the report header.
thanks anyone
 
My answer my just an alternative to the answer given by Arvin. I would
suggest that it would be better (simpler for users) to use the QBF method
that Arvin gave.

--
Wayne
Manchester, England.



nabs said:
thanks everyone Iwiil trythis out

Wayne-I-M said:
Hi

You could ask users for a start date and end date by adding a parameter
prompt to the query.

Add this to the criteria row of the column containing the start and end dates
[Enter start date] [Enter end date]

Then add an unbound textbox to the header of the report with this as the
control source.
="Accounts from " & (Format([StartDate],"ddd dd mmmm yyyy")) & " to " &
(Format([EndDate],"ddd dd mmmm yyyy"))

Of course change the [StartDate] and [EndDate] to what they really are in
your application.

Hope this helps

--
Wayne
Manchester, England.



nabs said:
I need to get weekly reports from an accounts databasefrom access 2003how do
I get dates >=and date<= I want to be able to apply this in the report header.
thanks anyone
 
thanks this worked as well

Wayne-I-M said:
My answer my just an alternative to the answer given by Arvin. I would
suggest that it would be better (simpler for users) to use the QBF method
that Arvin gave.

--
Wayne
Manchester, England.



nabs said:
thanks everyone Iwiil trythis out

Wayne-I-M said:
Hi

You could ask users for a start date and end date by adding a parameter
prompt to the query.

Add this to the criteria row of the column containing the start and end dates
[Enter start date] [Enter end date]

Then add an unbound textbox to the header of the report with this as the
control source.
="Accounts from " & (Format([StartDate],"ddd dd mmmm yyyy")) & " to " &
(Format([EndDate],"ddd dd mmmm yyyy"))

Of course change the [StartDate] and [EndDate] to what they really are in
your application.

Hope this helps

--
Wayne
Manchester, England.



:

I need to get weekly reports from an accounts databasefrom access 2003how do
I get dates >=and date<= I want to be able to apply this in the report header.
thanks anyone
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Report Help 1
Report help 8
Text box to display week commencing date? 1
DateAdd Function Return Range of Records? 1
Week number from date 3
Creating report with date counts 1
Extracting by Date 10
Week Number 2

Back
Top