B
Brigham Siton
Can someone show me how to use the HasData Property on a form?
What I want to do is if the form (based on a query) HasData that it
maximizes the form, else, it minimizes.
If Forms!PopUp.HasData = -1 Then
DoCmd.Maximize
Else
DoCmd.Minimize
End If
Somehow, the above does not work.
Thank you very much.
What I want to do is if the form (based on a query) HasData that it
maximizes the form, else, it minimizes.
If Forms!PopUp.HasData = -1 Then
DoCmd.Maximize
Else
DoCmd.Minimize
End If
Somehow, the above does not work.
Thank you very much.