Date Problem - 01/01/0001

Robertio

Member²
When using the TOracleDataset to edit a record where the date is stored as 01/01/0001 we receive the following error:

EVariantOverflowError 'Overflow while converting variant of type (Date) into type (Date)'

We do not know for sure, but suspect this is old data which never caused a problem with previous versions of the DOA components. We are currently using version 3.4.6.1 in Delphi 6.
 
This is a Delphi 6, update pack 2 bug. The minimum variant date value is now something like 01/01/0100.

You can downgrade to Delphi 6 update pack 1 to fix this.

------------------
Marco Kalter
Allround Automations
 
Back
Top