Hello,
I've set up an ADODB.Connection object in a macro to retrieve information from a database. Running a simple query I have tested the code and retrieved sample information - so I know the link to the database works. However, when I try to use a date expression in my query, I get a "Data Type Mismatch in Criteria Expression" error. The query I'm using is as follows:
I'm fairly certain that it's just the syntax of the date expression but can't figure out the correct syntax. I'm referring to a database in Frontrange Goldmine which uses "Dbase IV". When I run the same query in Goldmine's SQL tool, the format for query is:Please Login or Register to view this content.
Any help with the correct syntax would be much appreciated.Please Login or Register to view this content.
Thanks
Williams485
Bookmarks