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  
 
programming4us programming4us