Page 1 of 1

Is this a bug?

Posted: Wed Sep 27, 2023 3:28 pm
by JohnW
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.

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))
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?



Ashampoo_Snap_Wednesday, September 27, 2023_10h18m9s_multi.jpg
Ashampoo_Snap_Wednesday, September 27, 2023_10h18m9s_multi.jpg (106.17 KiB) Viewed 8012 times

Re: Is this a bug?

Posted: Wed Sep 27, 2023 9:49 pm
by Lech Kulikowski
Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.