I hope this will be an easy one for any of you who have experienced this problem before. I've been stuck on this for days. Here goes:
Access 2007 with a form and subform that I use to search for records. The form has several unbound fields used to filter the data in the subform.
When the form is opened the subform data entry value is set to yes so that the form is efficient by not displaying records that the user may not require.
Once the user has populated the unbound filters on the form they click on a button in the footer of the form which sets the subform data entry to no and then requeries the subform.
What actually happens is the data entry value is changed to no, but it displays all of the records and does not filter the subform based on the form filters.
Both the data entry and requery commands work indepedently of each other, ie. when separated. But when they are combined they do not work.
Thanks in advance for any assistance anyone can provide.
Access 2007 with a form and subform that I use to search for records. The form has several unbound fields used to filter the data in the subform.
When the form is opened the subform data entry value is set to yes so that the form is efficient by not displaying records that the user may not require.
Once the user has populated the unbound filters on the form they click on a button in the footer of the form which sets the subform data entry to no and then requeries the subform.
What actually happens is the data entry value is changed to no, but it displays all of the records and does not filter the subform based on the form filters.
Both the data entry and requery commands work indepedently of each other, ie. when separated. But when they are combined they do not work.
Thanks in advance for any assistance anyone can provide.