I am having a problem with the TOracleDataSet and dates. When I try to set a date parameter of the SQL to 0 (12/30/1899) it tries to write a NULL to the database. Unfortunatly the field is a "NOT NULL" and I need a 0 in the field to make it work correctly. Has anyone else had this problem? Has anyone else fixed it? What am I missing. Below is the actual code:
iOracleDataSet.DeclareVariable('PENDDATE', otDate);
iOracleDataSet.SetVariable('PENDDATE', 0);
Your help would be much appreciated.
iOracleDataSet.DeclareVariable('PENDDATE', otDate);
iOracleDataSet.SetVariable('PENDDATE', 0);
Your help would be much appreciated.