In news: c2f601c43859$65fb9d90$a501280a (AT) phx (DOT) gbl,
Allan T <anonymous (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Recently (within the last 2 months) we began having a
problem using DTS for conversion of DBFs that have a
Logical field. The field, which is logical in Clipper, is
never null in the DBF when viewed from DBX, but the
results from DTS are definitely incorrect. .....
Now though, the logical field imports in as 0,
1, or null AND THERE ARE NO NULLS! only true and false. |
Hi Allan,
I don't work with Clipper DBFs but I do work with FoxPro DBFs. In FoxPro a
date field can have a value of .T. or .F., or it can never have been given a
value - it is considered "empty." The ability to set a value of .NULL.
didn't come until later versions of Visual FoxPro, but an "empty" date is
still different from a .NULL. date.
For comparison purposes, an empty date will evaluate to .F. in FoxPro.
I'm sure you're getting nulls for the "empty" dates. You'll have to think of
a way to turn those values into False values.
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden (AT) mvps (DOT) org www.cindywinegarden.com