![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a potential need to use integer numbers up to 17 digits long. Access03 that I currently use can go up to 10 digits (32 bit restriction). I am wondering whether Access10 (64bit) woould solve the problem. I understand that it has three new keywords (2 data types and 1 modifier): LongPtr, LongLong and PtrSafe, a new function: CLngLng() and new compilation constants: VBA7 and Win64. |
|
What is the biggest integer value that Access10 (64bit) can support? |
|
Also what is the maximum physical table size that Access10 (64bit) can support? |
#3
| |||
| |||
|
|
I have a potential need to use integer numbers up to 17 digits long. Access03 that I currently use can go up to 10 digits (32 bit restriction). I am wondering whether Access10 (64bit) woould solve the problem. I understand that it has three new keywords (2 data types and 1 modifier): LongPtr, LongLong and PtrSafe, a new function: CLngLng() and new compilation constants: VBA7 and Win64. What is the biggest integer value that Access10 (64bit) can support? Also what is the maximum physical table size that Access10 (64bit) can support? Any caveats on using Access 10 Vs Access 03 would be appreciated. John |
#4
| |||
| |||
|
|
What I would suggest in this case is to simply use a decimal column. There are some noteworthy problems, but those columns can easily handle 17 digits. in fact, the default is 18 digits without a decimal place. And the real nice feature about decimal collums is they don't need the 64 bit version of access. In fact, I think they go all the way back to access 2002, or even 2000. |
#5
| |||
| |||
|
|
Why not just use doubles, which have been available in all versions of Access I've ever used, starting with Access 2? |
|
There are still problems with the decimal data type within Access -- its implemenantion was a sad victim of the "ADO wars" within Microsoft. http://allenbrowne.com/bug-08.html |
#6
| |||
| |||
|
|
As noted, there is some minor issues, but for the most part when you need to use large scale (pun intended!) integers, then the packed decimal is a great choice IMHO. |
#7
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |