A
Ayo
Is the a way to perform an conditional if statement on a subfrom like this:
If Me.InScope_subform HasData then
Me.cmdViewReport.Enabled=True
Else If Me.InScope_subform doesn't HaveData then
Me.cmdViewReport.Enabled=False
End If
What I am trying to do is enable a command button if there are records in
the subform but I don't know which of the subform properties to use.
If Me.InScope_subform HasData then
Me.cmdViewReport.Enabled=True
Else If Me.InScope_subform doesn't HaveData then
Me.cmdViewReport.Enabled=False
End If
What I am trying to do is enable a command button if there are records in
the subform but I don't know which of the subform properties to use.