Applies To Report.
Description
You can use the HasData property to determine if a form or report is bound to an empty recordset.
Setting
The HasData property is set by Microsoft Access. The value of this property can be read only while printing or while in Print Preview.
Value | Description |
–1 | The object has data. |
0 | The object doesn't have data. |
1 | The object is unbound. |
Me!SubReportControl.Visible = Me!SubReportControl.Report.HasData
See Also
NoData event.