I have written some code that adds the address to the box dependant on base, but i get the error message
Compile error:
end if without block if.
Can anyone explain this for me
Compile error:
end if without block if.
Code:
Private Sub Report_Open(Cancel As Integer)
If Me.Base = "STN" Then Me.Address = "address here"
End If
End Sub
Can anyone explain this for me