Question : Filter form

I have a weird thing that Im suffering with, Im using an access project ADP.  Im opening the form by clicking a button using this code

Private Sub lstBangewaz_DblClick(Cancel As Integer)
On Error GoTo 10
DoCmd.OpenForm "frmBangewaz", , , "[BangewazID]=" & Me.lstBangewaz.Value
10:
ErrHandling
End Sub

when the form opened it add a value to filter property and server filter property (see the attached)
when I remove the value manually it will come back again some times,
I have also added this code on close event, but it doesnt work
Me.filter=
Me. Serverfilter=

Answer : Filter form

Changed the filter but did not saved the form. Include a

Me.filter= ""
Me. Serverfilter= ""
DoCmd.Save
Random Solutions  
 
programming4us programming4us