GK in the UK
Registered User.
- Local time
- Today, 20:04
- Joined
- Dec 20, 2017
- Messages
- 281
I've ended up in a situation where my form seems to be 'stuck' with a filter and I can't get rid of it.
I've got a form which has a sub form TransLineLedger.
The column headings have the drop down arrows to filter on the contents.
I also built in one filter on a command button but it seems to intefere with any other filters that are set with the drop-down arrows. The filter was on thPostingBatchNo which is a visible column in the sub form.
I commented out the code for the button that sets the filter. Opened the sub form in design mode, and cleared out the filter and re-saved. So I can't see my command button filter command anywhere in the form design.
Now when I open the form and click on a different filter (a date filter, say) Access pops up a message 'The object doesn't contain the Automation object 'thPostingBatchNo'.
How do I permanently remove the old command button filter so I don't get the error message ?
I've got a form which has a sub form TransLineLedger.
The column headings have the drop down arrows to filter on the contents.
I also built in one filter on a command button but it seems to intefere with any other filters that are set with the drop-down arrows. The filter was on thPostingBatchNo which is a visible column in the sub form.
I commented out the code for the button that sets the filter. Opened the sub form in design mode, and cleared out the filter and re-saved. So I can't see my command button filter command anywhere in the form design.
Now when I open the form and click on a different filter (a date filter, say) Access pops up a message 'The object doesn't contain the Automation object 'thPostingBatchNo'.
How do I permanently remove the old command button filter so I don't get the error message ?