I have created a form which I want to launch from VBA. I tested the form in the Access UI and was able to roll through the table contents, editing and adding as required.
I then added the following line to another form to call the form:
The form correctly launched a few times but now it will not. Further, when I now open the form in the UI, it does not show any records until I select RECORDS/ REMOVE FILTER, even though there is no filter set in the property and FLTR is not shown in the status bar.
I checked the status in VBA ON FORM OPEN using:
Is appears as though a filter is permanently set. I ran the compact and repair but no change.
Can anyone help?
I then added the following line to another form to call the form:
Code:
DoCmd.OpenForm "FAso", , , "[DS]='" & Me.DN & "'", , , Me.DN
I checked the status in VBA ON FORM OPEN using:
Code:
Debug.Print "Me.Filter is ", Me.Filter >> “” Debug.Print "Me.FilterOn is ", Me.FilterOn >> “false”
Can anyone help?
Comment