Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hasData property

Status
Not open for further replies.

tziviak2

MIS
Jul 20, 2004
53
US

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
 
Is it Pubform

or Subform

Brought to you By Nedaineum
The Portal to Geek-tum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top