S
Sherwood Botsford
I want to use access in a semi-automatic mode.
1. Filter by form on a database. NOW while this filter is applied,
run a particular report. In other words, I want the run the same
report
with any of many possible filters, without hacking about the report,
or prestoring all the filters. How do I write reports that inherit
the current filter applied in a table view?
2. I have a table with 8 boolean variables. How to I get a report to
ask, which variable to use. In essence I want a runtime where clause
in my sql query, but so far haven't figured out how to do this:
EG: Select list of stuff
FROM datatable
WHERE R1=true;
where R1 is the name of one of the boolean variables. This works.
If I replace R1 with FOO, I get a request parameter box for foo, put
in R1
and get back ALL the records.
How do I write an expression in a parameter box that will be used by
the select query?
1. Filter by form on a database. NOW while this filter is applied,
run a particular report. In other words, I want the run the same
report
with any of many possible filters, without hacking about the report,
or prestoring all the filters. How do I write reports that inherit
the current filter applied in a table view?
2. I have a table with 8 boolean variables. How to I get a report to
ask, which variable to use. In essence I want a runtime where clause
in my sql query, but so far haven't figured out how to do this:
EG: Select list of stuff
FROM datatable
WHERE R1=true;
where R1 is the name of one of the boolean variables. This works.
If I replace R1 with FOO, I get a request parameter box for foo, put
in R1
and get back ALL the records.
How do I write an expression in a parameter box that will be used by
the select query?