Show a pop up box when report shows null values returned

  • Thread starter Thread starter John_Westham
  • Start date Start date
J

John_Westham

Guest
Hi,
basically I have a report based on a qry where someone will enter a postcode to return all values linked to it. I need a pop up box to appear when this qry is run in a report and no matching postcode is found. Just so I can redirect the user to another report.
Any help will be apreciated.
John.
 
Did you try something like:

Sub Report_Load()

If Report = Null Then
OtherReport.Show

End Sub

It's an idea..........
 
You could use the report's On No data event
 

Users who are viewing this thread

Back
Top Bottom