A
apollo8359
My report form is turning out to be the most complicated form in the
database. They want combo boxes, radio buttons, date parameters with an on
and off option and four kinds of output, preview, print, snapshot and excel.
I realize I need a case statement to handle all the options but my question
revolves around the gathering of the desired data. I want to know which
option is the best to use and gives me the most flexibility, running a select
statement with the criteria concatinated into the where clause, or the
docmd.openreport, with the where clause there? This has to be a common issue
with all database designs, as a self taught rookie, where can I find a good
example of how to get a form to dialogue with a query? I used the following
with the open report option, but it only narrowed by REPEID, not date.
RepEID=2583 and [Opened] >=07/01/2005 and [Activity] <= 07/31/2005
Thanks in advance for any help on this.
database. They want combo boxes, radio buttons, date parameters with an on
and off option and four kinds of output, preview, print, snapshot and excel.
I realize I need a case statement to handle all the options but my question
revolves around the gathering of the desired data. I want to know which
option is the best to use and gives me the most flexibility, running a select
statement with the criteria concatinated into the where clause, or the
docmd.openreport, with the where clause there? This has to be a common issue
with all database designs, as a self taught rookie, where can I find a good
example of how to get a form to dialogue with a query? I used the following
with the open report option, but it only narrowed by REPEID, not date.
RepEID=2583 and [Opened] >=07/01/2005 and [Activity] <= 07/31/2005
Thanks in advance for any help on this.