Solved

How to insert a null date into Paradox 5 date field.

Posted on 2008-10-15
2
811 Views
Last Modified: 2013-12-17
I have the task of importing data retrieved from a Paradox 5 table into another database with the exact table. Now the problem is with a Date field in this table is set to 00/00/0000 (its a delete date). The BDE has no problems creating this record with the host application but now the issue for me is that using C# with an OLEdbConnection and issuing queries such as INSERT INTO test VALUES(1,'FirstName,'LastName','00/00/0000') gives me a 'Type mismatch' error.
I do not want to list the field names in the query.

Is there any way to do this in a query?

Thanks in advance.

0
Comment
Question by:ExanSoftware
2 Comments
 
LVL 5

Accepted Solution

by:
PaulKeating earned 500 total points
Comment Utility
INSERT INTO test VALUES(1,'FirstName,'LastName',NULL)
0
 

Author Closing Comment

by:ExanSoftware
Comment Utility
Thanks, i had tried that but was not working for me until now. Paradox is very finicky. Nothing but a headache to be honest...
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now