Sets up the value of the dummy zero date.
Database
DataFlex ODBC Driver, revision 5 and higher
String, temporary
Read/Write
Any legal date value on the back end
Use cli.pkg
Get_Attribute DF_DATABASE_DUMMAY_ZERO_DATE_VALUE of {driverNumber} {databaseHandle} to {StringVariable}
Set_Attribute DF_DATABASE_DUMMAY_ZERO_DATE_VALUE of {driverNumber} {databaseHandle} to {StringVariable}
Sets up the value of the dummy zero date. This should be set to the lowest possible date value that the database supports. In most databases the default 0001-01-01 can be used. Some databases however support a different lowest possible date value.
Procedure ShowDBAttribute Integer iDriver Handle hDatabase
String sAttribValue
Get_Attribute DF_DATABASE_DUMMY_ZERO_DATE_VALUE of iDriver hDatabase to sAttribValue
Showln "Dummy zero date: "sAttribValue
End_Procedure
The sample code above shows the current setting for a given database. The database handle can be obtained via the DF_DATABASE_ID attribute.