Accesss Error-undefined function Format

When I access date columns with format function in SQL Query
Access returns error 'undefined function format'.This is working some times and some times not.
What could be the reason
philipkvAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

philipkvAuthor Commented:
I am Accessing DB through ASP and ADO
0
MasseyMCommented:
Please post your code.  Thanks.


0
MasseyMCommented:
Make sure the field is a date field in the SQL server.  Also, make sure the VBScript function that you are using is aware of the format the date is in before calling it... For a more specific answer, please post your code..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

philipkvAuthor Commented:
Hi Massey, format function i used is the built in function of Jet SQL.When i restart the system it works for some time. Then again returns undefined function "Format". I think this comes from ODBC Driver for Access.
0
MasseyMCommented:
Can you post your code so we can see that part that is being troublesome?
0
kodiakbearCommented:
Fixed the -1 problem on this question.
Escrow points corrected.

kb
Community Support Moderator
Experts Exchange
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.