Is this a bug?
Posted: Wed Sep 27, 2023 3:28 pm
When I create variable for a date, I want the user to enter it at the the time report is first presented. Then populate the data based on date entered.
This is part of the code used to render to the report.
The images show the User input in the designer but not when the report is called by an .aspx page. Is there a setting I missed or is this a bug?
This is part of the code used to render to the report.
Code: Select all
Dim path As String = Server.MapPath("LicensePermitsBatchRPT.mrt")
report.Load(path)
report.Dictionary.Variables("PrintDate").RequestFromUser = True
Dim strConn As String = ConfigurationManager.ConnectionStrings("AGED").ConnectionString
'Used to set connection string.
report.Dictionary.Databases.Clear()
report.Dictionary.Databases.Add(New Stimulsoft.Report.Dictionary.StiSqlDatabase("MS SQL", strConn))