I am working in access project, so the backend of the system is SQL, I tried to build a query to retrieve the data based on the date, the date appear in different form in a text box, so when I put the date in the text box and run the query I need the query to give me the data based on the date in the Text box. I tried to put in the query as following
Like [forms]![Main]![Text49]
but its not working like regular Ms Access query, it keeps giving me (Your entry cannot be converted to a valid date time value), can you help me with this query please?
This is the code for the query
Thank you in advance for your help
Like [forms]![Main]![Text49]
but its not working like regular Ms Access query, it keeps giving me (Your entry cannot be converted to a valid date time value), can you help me with this query please?
This is the code for the query
Code:
INSERT INTO dbo.AccTDailyT (No, AccountNo, AccountName, AccountName2, Balance, TransDate) SELECT No, AccountNo, AccountName, AccountName2, Balance, TransDate FROM dbo.Acct_DataT ORDER BY No
Comment