Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

pass date parameter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smk23 - 30 Jan 2006 22:43 GMT
I am passing a date entered by the user ( from an input box) to the TSQL
statement for a pass-through query. What is the correct syntax in the WHERE
clause for the user's entry? Here is what I have, I know the # is wrong:

AND ((t.ApptDate)> #1/1/2005#)

Thanks!!
Signature

sam

Ofer - 30 Jan 2006 22:50 GMT
Try a single quote

AND ((t.ApptDate)> '1/1/2005')

Signature

\\// Live Long and Prosper \\//
BS"D

> I am passing a date entered by the user ( from an input box) to the TSQL
> statement for a pass-through query. What is the correct syntax in the WHERE
[quoted text clipped - 3 lines]
>
> Thanks!!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.