ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Trouble with select statement (https://www.excelbanter.com/excel-programming/329759-trouble-select-statement.html)

James W.[_2_]

Trouble with select statement
 
I recorded a query... works great without the variables

This is within a select statement
Time<={ts '2005-04-19 01:00:00'})

However when i change the date to capture my dtpicker value i get nothing
returned. arghh

Time<={ts '" & Format(Criteria1, "yyyy-mm-dd") & " 01:00:00'}

Any help is greatly appreciated


All times are GMT +1. The time now is 11:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com