cardgunner
Registered User.
- Local time
- Today, 13:56
- Joined
- Aug 8, 2005
- Messages
- 210
In order to solve a subform filter problem I put a command button on the form that opens a query that is linked to the form's recordsource query.
The customer selects the button, fills in his criteria, saves the query and closes the query.
The form still shows all the records.
So I added a button for him to push to requery the form. I tried Me.requery, me.refresh, DoCmd.RunCommand acCmdSaveRecord, and a host of other acCmd's.
None of what I tried requiries the form with the new criteria.
The only way I have been able to do it is close the form and reopen it.
What am I not doing right or and what command should I be using?
The customer selects the button, fills in his criteria, saves the query and closes the query.
The form still shows all the records.
So I added a button for him to push to requery the form. I tried Me.requery, me.refresh, DoCmd.RunCommand acCmdSaveRecord, and a host of other acCmd's.
None of what I tried requiries the form with the new criteria.
The only way I have been able to do it is close the form and reopen it.
What am I not doing right or and what command should I be using?