G
Guest
I use a combo box on a form to search for account numbers and move to that
record. The unbound box has three columns, LogID, Account, Name and uses its
own sql statement to populate. The afterupdate code takes the LogID and finds
the first instance. This all works fine. The form has a filter for open and
closed accounts. Here is the problem. When I engage the filter, the combo
still has every record listed. I would like the combo to show just the open
accounts when the open filter is applied, closed when that filter is applied
and everything when no filter is applied. The filter is a group of three
command buttons in the footer that uses vba code to set the filter to a
number that represents a closed account and not that number to represent all
open accounts, and no filter for all records. Any help would be appreciated.
It is a livable situation, but I would like it to be better.
record. The unbound box has three columns, LogID, Account, Name and uses its
own sql statement to populate. The afterupdate code takes the LogID and finds
the first instance. This all works fine. The form has a filter for open and
closed accounts. Here is the problem. When I engage the filter, the combo
still has every record listed. I would like the combo to show just the open
accounts when the open filter is applied, closed when that filter is applied
and everything when no filter is applied. The filter is a group of three
command buttons in the footer that uses vba code to set the filter to a
number that represents a closed account and not that number to represent all
open accounts, and no filter for all records. Any help would be appreciated.
It is a livable situation, but I would like it to be better.