chrisaroundtown
Technical User
Hi,
I have a Table called CSRLog. The table contains orders taken by my users. The fields in the table include [date], [program], [order no.], [product], [supplier] etc.
I have created a crosstab query called OrdersByProgram. The query tells me how many orders there are for each date by program. The row headings are dates, the column headings are the programs and the data is a simple count of orders. The query will only show row and column headings based on the data in the table. For example, if there are no orders for the program Bluefish the query will not display a column called Bluefish.
Based on this query I have a report. I know that there are five programs and the report should tell me how many orders each program has recieved per day. The problem is that in the report I have fields for each program but where there is no orders for one program I get an error message as it doesn't appear in the query. For example, if there are no orders for the program Bluefish in the table, there will be no column in the query called Bluefish (as there are no orders). Therefore the report (which has a field in in for Bluefish) doesn't recognise the name Bluefish in the query. I get the error 'Microsoft Access cannot recognise the field [Bluefish] etc.'
Please help, let me know if what I am saying makes no sense at all.
Thanks
Chris.
I have a Table called CSRLog. The table contains orders taken by my users. The fields in the table include [date], [program], [order no.], [product], [supplier] etc.
I have created a crosstab query called OrdersByProgram. The query tells me how many orders there are for each date by program. The row headings are dates, the column headings are the programs and the data is a simple count of orders. The query will only show row and column headings based on the data in the table. For example, if there are no orders for the program Bluefish the query will not display a column called Bluefish.
Based on this query I have a report. I know that there are five programs and the report should tell me how many orders each program has recieved per day. The problem is that in the report I have fields for each program but where there is no orders for one program I get an error message as it doesn't appear in the query. For example, if there are no orders for the program Bluefish in the table, there will be no column in the query called Bluefish (as there are no orders). Therefore the report (which has a field in in for Bluefish) doesn't recognise the name Bluefish in the query. I get the error 'Microsoft Access cannot recognise the field [Bluefish] etc.'
Please help, let me know if what I am saying makes no sense at all.
Thanks
Chris.