Hi all
I have attached the following vba code to a button in a form in order to filter data to be visualised
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>
Dim filtro_struttura As String
filtro_struttura = "SELECT * FROM registro_ssa WHERE registro_ssa.cod_struttura=[Forms]![ms_data_entry]![cod_struttura]"
Me.RecordSource = filtro_struttura
Me.Requery
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>
Now I’m stuck because I want to create another button to remove the filtering and display all data
Any help for this?
Thanks