Page 1 of 1

TOraTimeStamp Constructor Problem

Posted: Wed 26 Oct 2005 11:40
by Oliver
Hello,

i have the following problem:

Code: Select all

      TOraTimeStamp *timestamp = new TOraTimeStamp(OCI_DTYPE_TIMESTAMP);

      timestamp->Format = "YYYY.MM.DD hh24:mi:ss";
      timestamp->AsString = DlgMain->TMStringGrid->Cells[4][DlgMain->m_iHitRow];
why isn't this working? i'm using the latest odac version and borland c++ 6
when the constructor is called, the error message appears:

Assertion failure (D:\Projects\Delphi\Odac\Source\OraClasses.pas, Zeile 10732)

Posted: Thu 27 Oct 2005 08:09
by Alex
You should use dtTimeStamp constant instead of OCI_DTYPE_TIMESTAMP.