So for example -- the default is All. I select Pre Installed and the subform is filtered correctly. I close the database and re-open. The subform is still filtered for Pre Installed records although the All button is selected correctly.
Here is the code for the on click event. The Accounts query is an append query. I am trying to work on someone elses DB and it has been over 10 years since I had VB. I know it is probably something simple.
Expand|Select|Wrap|Line Numbers
- CurrentDb.Execute ("Delete * from AccountList")
- DoCmd.SetWarnings False
- DoCmd.OpenQuery ("QryAccounts")
- DoCmd.SetWarnings True
- Forms!Default!NavigationSubform.Requery