Help!

Problem with a Date Parameter in MSQuery

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Query DAO RSS
Next:  Excel XNPV - true NPV or PV?  
Author Message
Ozziliz



Joined: Oct 26, 2006
Posts: 1



PostPosted: Thu Oct 26, 2006 6:07 pm    Post subject: Problem with a Date Parameter in MSQuery

I wonder if someone can help or advise if you agree that this could be an issue with JADE ODBC.

I am trying to use MSQuery in Excel 2003 to retrieve data from an External Database written in Jade using a date parameter. Using the syntax:

Between [Start Date] And [End Date]

where I want to retrieve the start and end dates from cells on an Excel Spreadsheet, however when I try to return the data to Excel it results in an error

"Expecting 'boolean primary'; found '(' at 457"

Any assistance would be appreciated,
Elizabeth
Back to top
chas17



Joined: Feb 20, 2008
Posts: 1



PostPosted: Wed Feb 20, 2008 5:02 pm    Post subject: Dates as a parameter inside of Excel and MS Query

in order to use Dates as a parameter inside of Excel and MS Query through an ODBC driver you must create a date with this:

example : 07-april-2003

The cell must be in a text format for this to work also....

The month must be lowercase...

=LOWER(TEXT(DATE, "dd-mmmm-yyyy"))

This formula can be used for Oracle 8i problems....
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Query DAO All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum