We routinely take large DBF files, which contain dates in character fields in the format "dd/mm/yyyy", and import them into Paradox tables using Paradox 9. The Paradox files have identical structure, except that the date fields are dates.
Using the Tools\Utilities\Add menu we read the data from the DBF to the DB. Nearly every time there is a message about trimming the data for the date fields, but usually the data is imported OK. However sometimes all the data for all fields from the date field onwards is blank. Doing some tests it appears that in such cases Paradox is assuming that the data is in US (mm/dd/yyy) format and doesn't like dates such as "30/10/2001"
The BDE Admin program (5.01) is set up with date formats as 4digityear and mode as 1.
Does anyone know why it sometimes fails?
<btw> the reason we use character fields for dates in the DBF is that some dates fall outside of the DBF date range, but are valid in Paradox.
Does anyone know why
Using the Tools\Utilities\Add menu we read the data from the DBF to the DB. Nearly every time there is a message about trimming the data for the date fields, but usually the data is imported OK. However sometimes all the data for all fields from the date field onwards is blank. Doing some tests it appears that in such cases Paradox is assuming that the data is in US (mm/dd/yyy) format and doesn't like dates such as "30/10/2001"
The BDE Admin program (5.01) is set up with date formats as 4digityear and mode as 1.
Does anyone know why it sometimes fails?
<btw> the reason we use character fields for dates in the DBF is that some dates fall outside of the DBF date range, but are valid in Paradox.
Does anyone know why