Hi, Im using an ADODC control to scroll and save data to an MS Access 2000 DB, i also have a datagrid connected to the ADO which displays the information as i update it.
I would like to add a filter function to the datagrid so that i can filter by the date expected and see only those items which have the date i specify.
Ive tried several different ways of doing this but i never seem to be able to get it to work.
Adodc1.RecordSource = "Select * From Fasttrack Where DateDue = txtdatefilter.text"
Adodc1.Refresh
This does nothing except give me an error message Syntax Error in FROM Clause. Then when i debug it highlights Adodc1.Refresh as the problem. When i take the refresh out it doesnt do anything at all...
Any help will be appreciated
I would like to add a filter function to the datagrid so that i can filter by the date expected and see only those items which have the date i specify.
Ive tried several different ways of doing this but i never seem to be able to get it to work.
Adodc1.RecordSource = "Select * From Fasttrack Where DateDue = txtdatefilter.text"
Adodc1.Refresh
This does nothing except give me an error message Syntax Error in FROM Clause. Then when i debug it highlights Adodc1.Refresh as the problem. When i take the refresh out it doesnt do anything at all...
Any help will be appreciated