Hello,
hope you can help me with something I've already spent half a day with without success.
I have a
- form called "Hauptformular" and a
- subform called "qry_tracking_Unterformular". Then there is a
- button called "cb_filialname".
Now when opening the Database, the form appears with the subform containing the
- query "qry_tracking"
When hitting the button "cb_filialname" the subform receives the contents of the
- query "qry_tracking_FilName", that has a filtering option on the Column "Filiale": "Like [Filialname?]"
Now the filtering works fine with the following Code:
-> when you hit the button, the inputbox
The problem now is, that after having used the button, when I click the "Exit" cross right up there, the inputbox appears again. I've searched online a lot, but non of the solutions would word. So now I hope, you can help.
hope you can help me with something I've already spent half a day with without success.
I have a
- form called "Hauptformular" and a
- subform called "qry_tracking_Unterformular". Then there is a
- button called "cb_filialname".
Now when opening the Database, the form appears with the subform containing the
- query "qry_tracking"
When hitting the button "cb_filialname" the subform receives the contents of the
- query "qry_tracking_FilName", that has a filtering option on the Column "Filiale": "Like [Filialname?]"
Now the filtering works fine with the following Code:
PHP:
Private Sub cb_filialname_Click()
Me!qry_Tracking_Unterformular.Form.FilterOn = False
Me!qry_Tracking_Unterformular.Form.RecordSource = "qry_tracking_FilName"
End Sub
appears.Filialname?
The problem now is, that after having used the button, when I click the "Exit" cross right up there, the inputbox appears again. I've searched online a lot, but non of the solutions would word. So now I hope, you can help.