Hi. I have a MS Access data database that I've used as data source for my windows for. I'm trying to write a simple query relating to date range which is as mentioned below:
SELECT ID, [Name of child], FosterchildID, Age, Gender, NameOfSchool, Grade, [Name of foster parent], [ID of foster parent], [Contact Number], [Type of placement], Court, [Court ref no], [Court date], [Return Date], [Latest Return date], [Expiry date], [Physical
adress], [Managing institution], [Social worker] FROM Sheet1
WHERE Court date BETWEEN @startdate AND @enddate
The problem is that I receive an error occurred while trying to create the paramerized query. Error in Where clause near 'Court' . Unable to parse query test. Can someone please advise me on what to do.