I have the following code which results in a runtime error 2465 application-defined or object-defined error
pubform is a subform-and I want s/t to occur when it has no data-what is wrong with my code
If forms![frmProcess_Sessions]![Pubform].Report.HasData = 0 Then
MsgBox "no records-go on"
End If
thanks