How can I get 32-bit Integers?

R

Renny Bosch

I am using Access MS Office 2007 with VBA 6.5, on Win XP. My Integer type
is just 16 bits, i.e. its max value is 32,767. How can I configure it so as
to have 32-bit Integers, along with 64-bit Longs?
 
P

Paul Shapiro

Renny Bosch said:
I am using Access MS Office 2007 with VBA 6.5, on Win XP. My Integer type
is just 16 bits, i.e. its max value is 32,767. How can I configure it so
as to have 32-bit Integers, along with 64-bit Longs?

An Access Integer is 16 bits. A Long Integer is 32 bits. Access does not
have a 64-bit integer data type.
 
A

Arvin Meyer [MVP]

Perhaps the nomenclature is different, but an Integer is 2 bytes with
values: -32,768 to 32,767. Longs are 4 bytes with values: -2,147,483,648 to
2,147,483,647
 
D

De Jager

Renny Bosch said:
I am using Access MS Office 2007 with VBA 6.5, on Win XP. My Integer type
is just 16 bits, i.e. its max value is 32,767. How can I configure it so
as to have 32-bit Integers, along with 64-bit Longs?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top