Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Peculiar query issue

Status
Not open for further replies.

finglem

Technical User
Nov 14, 2003
66
0
0
GB
Hi Guys wonder if anyone can help.

I have two databases. structure is exactly the same (just link to different websites). I run a query on one database and get the expected results.

Run the exact same query on the other database and i get errors. Either data type mismatch errors or driver might be out of resources??

Anyone got any ideas? Just to show how simple the query is :

SELECT Order.* FROM [Order] WHERE (DateValue([order].[Date Ordered])>#01/01/09#)

Thanks
 
any chance [date Ordered] is a number or actual date? If it is not a string you will get the type mismatch error. Any chance [date ordered] returns a null? You would get an invalid use of null error, and maybe another error message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top