Hi
In an informix database I have two fields, with the same value in both, one of them is text base eg char(10). The other is decimal base eg decimal(14)
I am using ADODB in Excel97 to connect to the database and return the fields values into a recordset.
The returned value for the text base field is as expected
eg rs.fields(0).value returns 1467
But!!!
The returned value for the decimal base field is either zero, or a truncated version of the expected number.
eg rs.fields(1).value returns 146
Do I have to set the recordset field to handle the level of precision for the decimal???
Any help would be greatly appreciated
Thanks
Kelvin
In an informix database I have two fields, with the same value in both, one of them is text base eg char(10). The other is decimal base eg decimal(14)
I am using ADODB in Excel97 to connect to the database and return the fields values into a recordset.
The returned value for the text base field is as expected
eg rs.fields(0).value returns 1467
But!!!
The returned value for the decimal base field is either zero, or a truncated version of the expected number.
eg rs.fields(1).value returns 146
Do I have to set the recordset field to handle the level of precision for the decimal???
Any help would be greatly appreciated
Thanks
Kelvin