H
HeislerKurt
I'm trying to do some simple experimenting with the Immediate Window
in Access' VB environment.
For instance, I wrote this function:
###
Public Function Testing()
Dim X As Integer
X = 4
Testing = X * 2
End Function
###
In the immediate window, when I type "?Testing", it should return 8.
But instead I get this error:
Run-time error '9' : Subscript out of range
Any idea?
Kurt
in Access' VB environment.
For instance, I wrote this function:
###
Public Function Testing()
Dim X As Integer
X = 4
Testing = X * 2
End Function
###
In the immediate window, when I type "?Testing", it should return 8.
But instead I get this error:
Run-time error '9' : Subscript out of range
Any idea?
Kurt