David said:
Is it possible to create a report with fixed Rows? If the
row is null then I could have a default of zero. My
Report will be sorted by state and year of expense. I
want to be able to have a default states with default
years.
The report can not display nonexistent data. If you want to
show something for every combination of state and year, then
create a one column table that has an entry for every state
and another table with a list of the possible years.
next create a query that has both of those tables with no
Join line between them. This will will produce a list of
all possible combinations.
Next create the report's record source query by adding your
data table and the above query. Make sure the Join lines go
from the two fieds in the query to the corresponding fields
in the table. Right click on each join line and select the
Join Type that includes all the records from the query and
any matching records from the table.
Run the report's record source query from the query design
window and check if you're getting all the appropriate data.
If it's what you want, except for getting nulls instead of
zeros, then use it in the report. If not, post back with
more details about the data and a copy/paste of the SQL view
of both queries.