T
Tom
I was reading that compiling my code would make the application run faster.
So within the VB tool I selected Debug/Compile.
I run a bunch of code which manipulates forms, and I am getting errors
whenever I call out a form property. For example (GroupHeader1).
How do I fix this?
++++++++++++++++++++++++++++++
Option Compare Database
Option Explicit
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
If [BomPnDash] = [PNNumb2] Then
GroupHeader1.Visible = False
Else
GroupHeader1.Visible = True
End If
End Sub
So within the VB tool I selected Debug/Compile.
I run a bunch of code which manipulates forms, and I am getting errors
whenever I call out a form property. For example (GroupHeader1).
How do I fix this?
++++++++++++++++++++++++++++++
Option Compare Database
Option Explicit
Private Sub GroupHeader1_Format(Cancel As Integer, FormatCount As Integer)
If [BomPnDash] = [PNNumb2] Then
GroupHeader1.Visible = False
Else
GroupHeader1.Visible = True
End If
End Sub