-
I need to populate a Data Report with User entered variables(i.e. Date, Name in the Header section). Also the commands that contain the criteria for the Report are set at Run time. I think the way to achieve this is by using the Data Report object but I have never used this. I need help, badly. The user will be entering the date which the report will be based on.
j.h.
-
Data Report
See this code:
RptVisita.Sections("Cabecalho").Controls("LblInicio").Caption = DataInicio
RptVisita.Sections("Cabecalho").Controls("LblFim").Caption = DataFim
There are two labels om my Data Report, named RptVisita.
DataInicio and DataFim are Global variable.
With this code I put global variable value in the Data Report.