Numeric Value out of Range 
Author Message
 Numeric Value out of Range

I am attempting to bring back a recordset from an Oracle database via an ODBC call.

The desired value is an integer 50,000.

I get a "Numeric Value out of Range" message when the returned number exceeds 32766

Is this a limitation on a recordset?  Can I increase this maximum value?

Thanks in advance,

Mike



Sun, 08 Aug 2004 04:45:47 GMT  
 Numeric Value out of Range
Hi,

32766 is the maximum value a small integer can hold. Make it Long in Access
or int in SQL Server and it can hold a number in the billions. If you are
reading into a VBA variable, make the variable type Long.

--

Visit www.mvps.org/project/ for the Project MVP's FAQ and third party
add-ons

Rod Gill
Microsoft Project MVP
Visit www.projectlearning.com for customized Project and Office VBA macros
and Project companion software


Quote:
> I am attempting to bring back a recordset from an Oracle database via an
ODBC call.

> The desired value is an integer 50,000.

> I get a "Numeric Value out of Range" message when the returned number
exceeds 32766

> Is this a limitation on a recordset?  Can I increase this maximum value?

> Thanks in advance,

> Mike



Sun, 08 Aug 2004 07:52:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Numeric Value out of Range.

2. CRW 5: Numeric Value out of range error.

3. Numeric Value Out Of Range

4. adodb connection to excel: recordset.fields(i).value=null for fields with numeric value

5. adodb connection to excel: recordset.fields(i).value=null for fields with numeric value

6. adodb connection to excel: recordset.fields(i).value=null for fields with numeric value

7. Looking for a function that translates numeric values to string values

8. MS-Quickbasic numeric range problem

9. Inputting Numeric Ranges

10. Textbox control only numeric and range checking?

11. Null value in a Numeric field

12. TransferText - Numeric Values

 

 
Powered by phpBB® Forum Software