HasData function on form

  • Thread starter Thread starter manchery
  • Start date Start date
M

manchery

Hi,
I have a form with a subform. on click of a command
button if subform has no data i have to get a message,, I
think I can use (HasData) but anyone to say excat code
pls... or any other option..
Thanks in advance
 
Subreports have a HasData property, but not subforms.

Try:
[NameOfYourSubformControlHere].Form.RecordsetClone.RecordCount
 
Back
Top