Insert date fails using ODBC to Btrieve w Pervasive 8.5

I am setting up some Crystal reports that connect to a Btrieve 6.x data set using an ODBC from Pervasive 8.5.

Retrieveing data is no problem. Works great. But I have a need to add some rows to the Btrieve data that include a DATE field. I am using the Pervasive SQL DAta Manager to do the insert.
This is my SQL statement:

INSERT INTO "NLTXDH" ("Acct", "TransactionType", "Description", "TransactionAmt", "EntryDate") VALUES ('42000000','B01','Budget - 2005','-100.00',20050101)

It fails on the date every time. I have change the datae format to the following and still no luck:
2005/01/01
01/01/2005
2005.01.01
2005-01-01

None of these worked...

If anyone can help, I would be grateful to say the least... and a little less bald....
mflatfordAsked:
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.

MirtheilSoftware DeveloperCommented:
If it's really a Date field (and not some application defined date type), you'll need to use:

INSERT INTO "NLTXDH" ("Acct", "TransactionType", "Description", "TransactionAmt", "EntryDate") VALUES ('42000000','B01','Budget - 2005','-100.00','2005-01-01')

The data format is 'yyyy-mm-dd' with the single quotes being required.
mflatfordAuthor Commented:
The format of the field is 3-DATE according to BTsearch32....
MirtheilSoftware DeveloperCommented:
The you'll need to use the 'yyyy-mm-dd format like in my example.

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
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
Databases

From novice to tech pro — start learning today.