Is there a maximum length of a line when adding numbers in VBA? For example in MS Access:
Dim L As Long
' this works
L = 2696 + 2630 + 2860 + 2860 + 2860 + 2860 + 2795 + 2795 + 2630 + 2630 + 2630 + 263
' this gives an Overflow error
L = 2696 + 2630 + 2860 + 2860 + 2860 + 2860 + 2795 + 2795 + 2630 + 2630 + 2630 + 2630
Debug.Print L
I have never seen this documented. Also, it doesn't throw an overflow error in C# in Visual Studio.