Problem with TOraSession.Options.ConvertEOL
Posted: Wed 21 Jul 2010 15:44
Hi
Working with Delphi 2010
When setting TOraSession.Options.ConvertEOL = true the length of a datafield will be calculated wrong.
For example: a datafield (string type) has a length of 100 characters, but with the function FieldByName(DataField).Size i get a size/length of 150!
The real fieldlength is always multiplied with the factor 1.5.
Other fields have a real database defined length of 500 chars, but the result of "FieldByName(DataField).Size" gives 750 chars.
Please can you check this.
When setting TOraSession.Options.ConvertEOL = false all works fine.
Regards
Robert
Working with Delphi 2010
When setting TOraSession.Options.ConvertEOL = true the length of a datafield will be calculated wrong.
For example: a datafield (string type) has a length of 100 characters, but with the function FieldByName(DataField).Size i get a size/length of 150!
The real fieldlength is always multiplied with the factor 1.5.
Other fields have a real database defined length of 500 chars, but the result of "FieldByName(DataField).Size" gives 750 chars.
Please can you check this.
When setting TOraSession.Options.ConvertEOL = false all works fine.
Regards
Robert