G
Guest
I have a form “Expense Items†which I want to open either filtered or not
filtered. I have a combo box “cboExpItems†on my switchboard where the names
of individuals can be selected to show only the expense items they have
entered. When a person selects their name I want an “AfterUpdate†event to
run the macro titled “ExpFormSelPers†which I am wanting to refer back to the
combo box to filter on. I am not using a query.
The macro info is as follows:
Name: ExpFormSelPers
Action: OpenForm
Form Name: Expense Items
Where Condition: [ExpenseItems]![RequestedBy]=[Forms]![Main Switchboard]!
[cboExpItems]
I don’t want two forms to maintain so I am also wanting to run this form
with no filter so I can see all entries for everyone. To do this I plan on
having a simple command button that opens the form directly.
As always thanks for your help.
filtered. I have a combo box “cboExpItems†on my switchboard where the names
of individuals can be selected to show only the expense items they have
entered. When a person selects their name I want an “AfterUpdate†event to
run the macro titled “ExpFormSelPers†which I am wanting to refer back to the
combo box to filter on. I am not using a query.
The macro info is as follows:
Name: ExpFormSelPers
Action: OpenForm
Form Name: Expense Items
Where Condition: [ExpenseItems]![RequestedBy]=[Forms]![Main Switchboard]!
[cboExpItems]
I don’t want two forms to maintain so I am also wanting to run this form
with no filter so I can see all entries for everyone. To do this I plan on
having a simple command button that opens the form directly.
As always thanks for your help.