On May 29, 5:41 pm, NetworkTrade
<NetworkTr...@discussions.microsoft.com> wrote:
> If your query is returning all the proper line items...........then you
> should be able to create a new report based on that query using the report
[quoted text clipped - 37 lines]
>
> - Show quoted text -
Hi NTC,
the report I need must have also a date parameter, because when I run
the report, I need to choose a start date and an end date.
Thanks,
Fred's
NetworkTrade - 30 May 2007 17:28 GMT
Date bound reports are common - and there are a couple of ways to do it ;
kind of depends on the user interaction that you seek. Generally I like the
user to put the dates into a form's unbound text boxes......then I use those
dates in the query......and source the report on the query....
there is a more streamlined method using the opening arguments of the
report...but this 3 part approach is very straightforward for trouble
shooting....
For example...call the form DateForm with StartDateTxtBox and EndDateTxtBox
you call this info into the query design as a parameter field:
>=Forms!DateForm.StartDateTxtBox AND <=Forms!DateForm.EndDateTxtBox
run the query to make sure it returns all the lines/records correctly......
then make a report based on this query....
You can also carry these dates passively over to the Report so the report
tells you which date span it is for simply by adding a couple unbound text
boxes on the report and plugging in those same values from the form into them
using the same syntax.....
hth

Signature
NTC
> On May 29, 5:41 pm, NetworkTrade
> <NetworkTr...@discussions.microsoft.com> wrote:
[quoted text clipped - 46 lines]
> Thanks,
> Fred's