SpyderMan1234
IS-IT--Management
I have a straight-forward form. The recordsource is a SQL statement which pulls from two tables using a left join. The recordset type is Dynaset (Inconsistent Updates) so that they user can edit all information in the fields. Now, this form HAS been working perfectly fine. However, I added a new search button to filter for a specific record and once I ran this code, my navigation buttons no longer worked and I couldn't scroll between records or add a new record...clicking them just does absolutely nothing. All 3 filter options in the toolbar are greyed-out. Seeing that I could no longer navigate records, I removed the command button and the code so that the form was the same as it was before I did anything to it, but the navigation buttons will still not work and the filter options are still greyed out. I even tried to change the recordsource of the form to just a single table and not a SQL statement, but to no avail.
This is the code that I used to filter for the record:
Me.FilterOn=False
Me.Filter="File='" & Me.txtCriteria & "'"
Me.FilterOn=True
Anyone have any idea what caused this most-frustrating-for a-Friday-afternoon problem?? Or why it still won't work after changing everything back to the way it was?
Any help is great appreciated!
Thanks
This is the code that I used to filter for the record:
Me.FilterOn=False
Me.Filter="File='" & Me.txtCriteria & "'"
Me.FilterOn=True
Anyone have any idea what caused this most-frustrating-for a-Friday-afternoon problem?? Or why it still won't work after changing everything back to the way it was?
Any help is great appreciated!
Thanks