P
PBrown
Here is some background...
1) Query has a "Deleted" field that can be checked when a
project has been removed from the planning
2) There are two forms that will be used to allow users
to pick which area they want to view.
A) Form A is for managers only and can only be reached
via passwords
B) Form B is for use by anyone.
3) The same report runs, despite which form the user
uses. The only difference is the choices of titles
(Another option group already in play here)
4) Another option group has been set up with (3) radio
buttons 1 - Current 2 - Deleted 3 - All
Question:
Is there away to have the query or report use #4's result
to run. I.E. if the user clicks on "Deleted" only
deleted items appear, etc.
The problem is that I do not believe the query can be
tied only to this form. Because as mentioned earlier,
there are (2) forms that use the query for its report
(s). Someone was telling me about, Via the
Docmd.OpenReport method (you used to launch your report),
set the filter (or Where) argument to what the user
selected. However, I have looked at "Help" and many on-
line sources, but am having trouble finding references or
examples that involve using an item selected on a form as
a filter. Any suggestions?
Thank you in advance for any and all help,
PBrown
1) Query has a "Deleted" field that can be checked when a
project has been removed from the planning
2) There are two forms that will be used to allow users
to pick which area they want to view.
A) Form A is for managers only and can only be reached
via passwords
B) Form B is for use by anyone.
3) The same report runs, despite which form the user
uses. The only difference is the choices of titles
(Another option group already in play here)
4) Another option group has been set up with (3) radio
buttons 1 - Current 2 - Deleted 3 - All
Question:
Is there away to have the query or report use #4's result
to run. I.E. if the user clicks on "Deleted" only
deleted items appear, etc.
The problem is that I do not believe the query can be
tied only to this form. Because as mentioned earlier,
there are (2) forms that use the query for its report
(s). Someone was telling me about, Via the
Docmd.OpenReport method (you used to launch your report),
set the filter (or Where) argument to what the user
selected. However, I have looked at "Help" and many on-
line sources, but am having trouble finding references or
examples that involve using an item selected on a form as
a filter. Any suggestions?
Thank you in advance for any and all help,
PBrown