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
Opening explorer with a batch file.
Exchange 2007, Outlook 2007 keeps asking for password
sql string in VB
Using subquery to supply VALUE in INSERT statement
ODBC works on PC but not Terminal Server
VBA macro - conditional column fill
How to find and remove a virus
Outlook 2007 Recover email rules from old pst
Windows XP drops network connection freezes because of offline files
MSSQL2000