I've been messing with an Access database recently. I'm trying to assign a 14-digit number to a long variable, and I keep getting an overflow message!
I don't get the overflow when using a double, but later I'm going to convert the value into a string. (I can't have that goofy "+E18" value at the end.)
Why does VBA automatically add that "#" symbol to the end? Why am I getting an overflow? I thought longs were able to hold up to +-9,223,372,036,8 54,775,808.
Code:
Dim lng as Long lng = 20081008095613#
Why does VBA automatically add that "#" symbol to the end? Why am I getting an overflow? I thought longs were able to hold up to +-9,223,372,036,8 54,775,808.
Comment