B
Bill
Option Base 1 does not seem to be
effective for dynamically allocated
arrays.
E.g.,
Class module:
Option Compare Database
Option Explicit
Option Base 1
..
Several subs.
..
..
Private Function VDate(strMD As String) As Integer
Dim Ar() As String
Ar = Split(strMD , "/") 'E.g., "01/01"
The Ubound(Ar) equals 1, not 2
End Function
effective for dynamically allocated
arrays.
E.g.,
Class module:
Option Compare Database
Option Explicit
Option Base 1
..
Several subs.
..
..
Private Function VDate(strMD As String) As Integer
Dim Ar() As String
Ar = Split(strMD , "/") 'E.g., "01/01"
The Ubound(Ar) equals 1, not 2
End Function