J
John Taylor
I have a form with a combo box called "KeyIndicator" with four selections
("All"; "Key Deliverable"; "Work Plan"; "Other") - simple enough stuff - I
use this combo box to categorise records in my form.
I want to set a second combo box that will allow me to select one of the
same four criteria but will filter the records on the form so that I can
scroll through one category only (does that make sense?)
I set up an unbound combo box and named it "KeyFilter" with the same four
selections (i.e. "All"; "Key Deliverable"; "Work Plan"; "Other"). I then
wrote a macro called "OpenKeyFilter" with the folowing argument (used "Key
Deliverable" as an example): -
Macro Name OpenKeyFilter
Condition [Forms]![Issues]![KeyFilter]="Key Deliverable"
Action ApplyFilter
Where Condition ([Forms]![Issues]![KeyIndicator]="Key Deliverable")
The macro is set to run on "AfterUpdate" in the "KeyFilter" combo box.
This doesn't appear to work and I suspect I'm making a silly mistake but I
can't figure it out, the filter action looks like it works but it doesn't
filter on the "Key Deliverable" selection.
The filter "All" was easy as I simply used the "ShowAllRecords" Action and
it works OK.
Any help would be appreciated and thanks in advance.
John Taylor
("All"; "Key Deliverable"; "Work Plan"; "Other") - simple enough stuff - I
use this combo box to categorise records in my form.
I want to set a second combo box that will allow me to select one of the
same four criteria but will filter the records on the form so that I can
scroll through one category only (does that make sense?)
I set up an unbound combo box and named it "KeyFilter" with the same four
selections (i.e. "All"; "Key Deliverable"; "Work Plan"; "Other"). I then
wrote a macro called "OpenKeyFilter" with the folowing argument (used "Key
Deliverable" as an example): -
Macro Name OpenKeyFilter
Condition [Forms]![Issues]![KeyFilter]="Key Deliverable"
Action ApplyFilter
Where Condition ([Forms]![Issues]![KeyIndicator]="Key Deliverable")
The macro is set to run on "AfterUpdate" in the "KeyFilter" combo box.
This doesn't appear to work and I suspect I'm making a silly mistake but I
can't figure it out, the filter action looks like it works but it doesn't
filter on the "Key Deliverable" selection.
The filter "All" was easy as I simply used the "ShowAllRecords" Action and
it works OK.
Any help would be appreciated and thanks in advance.
John Taylor