Thanks - I mean in all events that originate from the datasheet part of the split form fails to retain module-wide variables - i.e. if I have a hyperlink set on field Field1, something simple like this would fail to give the desired result:
Code:
Option Compare Database
Option Explicit
Private lngTest As Long
Private Sub Form_Load()
lngTest = 5
End Sub
Private Sub Field1_Click()
Debug.Print lngTest
End Sub
debug.print prints "0" - lngTest appears to evaluate to its default value despite being set during the on load event. Thanks.