B
Brad
I have spent the past week trying to solve this little problem using a
bit of code.
This is a sales report where the user enters the period and sales rep
and the report generates from the period selected plus each period for
the preceeding 11 months. This requires the cross tab query with
varying headings.
Attached is the database. It uses the basGetPart that I found
somewhere plus code I have written myself.
An autoexec macro starts a form. Select the date 01/01/2003 and sales
rep Slick Willy. This will run the report so it can be viewed as it
should work.
This report works fine if every column has a value in the date
columns. If they do not then an error occurs. Try selecting the date
01/12/2002 to see.
Perhaps there is a better way.
Brad
bit of code.
This is a sales report where the user enters the period and sales rep
and the report generates from the period selected plus each period for
the preceeding 11 months. This requires the cross tab query with
varying headings.
Attached is the database. It uses the basGetPart that I found
somewhere plus code I have written myself.
An autoexec macro starts a form. Select the date 01/01/2003 and sales
rep Slick Willy. This will run the report so it can be viewed as it
should work.
This report works fine if every column has a value in the date
columns. If they do not then an error occurs. Try selecting the date
01/12/2002 to see.
Perhaps there is a better way.
Brad