J
JustinP
I keep getting a Run-time error '2465' when trying to run the code
below. This is usually associated with a misspelt field. The variable
'easeNum' produces the correct result, however it doesn't seem to like
using it in 'Me![easeNum]'. Anyone have ideas how I can get around
this?
Dim easeNum As String
For i = 1 To 10
easeNum = "EASEMENT" & Replace(Str(i), " ", "")
If Me![easeNum] Is Null Then 'ERROR OCCURS ON THIS LINE
'stuff happening
End If
Next
below. This is usually associated with a misspelt field. The variable
'easeNum' produces the correct result, however it doesn't seem to like
using it in 'Me![easeNum]'. Anyone have ideas how I can get around
this?
Dim easeNum As String
For i = 1 To 10
easeNum = "EASEMENT" & Replace(Str(i), " ", "")
If Me![easeNum] Is Null Then 'ERROR OCCURS ON THIS LINE
'stuff happening
End If
Next