If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > MS-ACCESS ODBC date problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-03, 11:41
CBBROWN CBBROWN is offline
Registered User
 
Join Date: Aug 2002
Posts: 2
Red face MS-ACCESS ODBC date problem

I am querying a dB2 table via ODBC. When I input the date parameter directly into the query criteria (=#06/01/2003#) it works fine. But I don't want the users to be opening up queries and hardcoding stuff in there.

I created a form with an input box. But when I put this in the criteria of the query =forms!frmdashboard.firstdate it tells me the date is out of range. The form textbox is formatted as a date. I have tried using CDate to be sure the format is coming back date.

I thought maybe I need to incorporate the #'s somehow, but I am baffled on how to proceed. I have tried every combination I can think of. -- CB
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On