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
Macro notification question
Windows 2008 Server immediately logging off Terminal Services sessions created from .msi / Windows Install Package
A Beautiful Disaster, multiple issues on Windows 7 / Vista Ultimate 64bit
Windows 7 IIS
Outlook 2007 won't connect to my Exchange 2010 server using Outlook Anywhere
How to use a module when referencing a calander.
Creating a directory path string based on choices in a form
tempdb in RAM on SQL Server 2005
System.NullReferenceExcept<wbr />ion Was Unhandled By User Code When Looping Through DataSet
event id 1073 user unable to restart