G
Greg
I am not knowledgeable about VB or event procedures.
I am trying to learn.
I have created a report based upon a query. Occasionally the query will
produce no output and the report based upon this query does not look good.
I put a Label on the Report saying " NO DATA AVAILABLE" and I set this Label
option to visible=No via the properties list.
Now I want to set the "No Data" event for the report to a procedure that
will make my hidden " not visible" Label to Visible.
When I go to the properties window for the report, I go to the "No Data"
option and click the event procedure access automatically creates a private
type subroutine
SUB Report_NoData(Cancel as Integer)
lblNoDatatoReport.Visible = True
End Sub
This does not work. I am getting some compiler error.
What do I enter on the "No Data" property to link to the SUB? Do I leave
blank, do I enter "Report_No Data" or do I enter "Report_No Data( )".
Nothing seems to work.
Thank You in advance!
Greg
I am trying to learn.
I have created a report based upon a query. Occasionally the query will
produce no output and the report based upon this query does not look good.
I put a Label on the Report saying " NO DATA AVAILABLE" and I set this Label
option to visible=No via the properties list.
Now I want to set the "No Data" event for the report to a procedure that
will make my hidden " not visible" Label to Visible.
When I go to the properties window for the report, I go to the "No Data"
option and click the event procedure access automatically creates a private
type subroutine
SUB Report_NoData(Cancel as Integer)
lblNoDatatoReport.Visible = True
End Sub
This does not work. I am getting some compiler error.
What do I enter on the "No Data" property to link to the SUB? Do I leave
blank, do I enter "Report_No Data" or do I enter "Report_No Data( )".
Nothing seems to work.
Thank You in advance!
Greg