Why all NUMBERs in OO4O are showing up as strings ???

From: BleuBleu <mathieu.gauthier_at_jcmb.com>
Date: 24 Sep 2002 12:08:05 -0700
Message-ID: <1be8547d.0209241108.57d70ba7_at_posting.google.com>


Hi!

Whenever I create a dynaset, all the numeric fields are loaded as Strings ??? For example, I have a field defined as NUMBER(5,0). In my dynaset, the type is set to 4 (LONG) and the OraIDatatype is set to 2 (NUMBER) but the value is a really a string string. It's like that for all numeric fields. What is going on ???

Here's a copy paste of my watch window :

ds(2) : "525" : Variant/Object/IOraField : Form1.Form_Load

: index : 2 : Long : Form1.Form_Load
: Name : "ID" : String : Form1.Form_Load
: OraIDataType : 2 : Long : Form1.Form_Load
: OraMaxDSize : 6 : Long : Form1.Form_Load
: OraMaxSize : 22 : Long : Form1.Form_Load
: OraNullOK : 0 : Long : Form1.Form_Load
: OraPrecision : 5 : Long : Form1.Form_Load
: OraScale : 0 : Long : Form1.Form_Load
: OriginalName : "" : String : Form1.Form_Load
: size : 6 : Long : Form1.Form_Load
: Truncated : 0 : Long : Form1.Form_Load
: Type : 4 : Long : Form1.Form_Load
: Updatable : True : Boolean : Form1.Form_Load
: Value : "525" : Variant/String : Form1.Form_Load
: XMLAsAttribute : False : Boolean : Form1.Form_Load
: XMLTagName : "" : String : Form1.Form_Load

Mat
Development Team
JCMB Technology Inc Received on Tue Sep 24 2002 - 21:08:05 CEST

Original text of this message