I am using MS ACCESS where I am changing the recordsource of the form in the afterupdate event of a combobox. Here is the sql query used
Me.RecordSource = "SELECT * FROM qryMIMATRIX WHERE qryMIMATRIX.A_LOCATION = " & Me.cboLocate.Value & ";"
cboLocate is the name of the combobox and qryMIMATRIX is the name of the query. On afterupdate event of the I am prompted to enter parameter which is not desirable.Help me out..
DROP TABLEtype of injection attack because it will only handle one statement ... you can't join 2 statements with a semicolon and expect the engine to execute both.