Microsoft
Software
Hardware
Network
Question : Access 2007 Master-Detail Report Question
I am trying to better understand how to get a detail subreport to display a message when there are no detail records. For example, I have a master record for an customer, but the customer has no orders (detail records). I would like a message to appear that says, "no orders", rather that just blank space. I played around with a few tables, but when there are no detail records, the detail subreport is omitted from the report. This includes any labels in the detail report, such as in the page and header sections.
Answer : Access 2007 Master-Detail Report Question
You could do a count of the number of items in the "many" recordset, and if it is zero, make a label with the caption "No orders" visible (run it from the Detail_Format section of the report). To give more exact code, I would need the database.
Random Solutions
Fixing - Cannot perform an aggregate function on an expression containing an aggregate
Windows form dialog box Refresh parent
Modify a PARAM tag value within C#
ASP.Net asynchronous sql execution
Assign default value to array
How do I programmatically set the recordsource in a subreport?
SQL datetime issue: The following 2 sections of code produce different results.
Access multi-column combobox selection
Vista-Win 2003 Trust Relationship Issue
Build-in VPN on Windows 7 with Juniper