Search found 5 matches
- Tue Apr 03, 2018 2:55 pm
- Forum: Stimulsoft Reports.NET
- Topic: Displaying data in CrossGroupHeaderBand from dynamicSQL cols
- Replies: 3
- Views: 1308
Re: Displaying data in CrossGroupHeaderBand from dynamicSQL
Hi Lech, I have attached the report template I am working on. The datasource in question is 'WeeklyPct'. I wish to display the results of this SQL query in GroupFooterBand1 in my CrossFooterBand but am unsure of the best way to do this with dynamically set columns. Obviously I can't use the retrieve...
- Wed Mar 28, 2018 4:51 pm
- Forum: Stimulsoft Reports.NET
- Topic: Displaying data in CrossGroupHeaderBand from dynamicSQL cols
- Replies: 3
- Views: 1308
Displaying data in CrossGroupHeaderBand from dynamicSQL cols
I have a datasource with the following SQL code. (Test data included) CREATE TABLE #yt ( [PupilID] int, [WeekNo] int, [IsInAttendance] int ); INSERT INTO #yt ( [PupilID], [WeekNo], [IsInAttendance] ) VALUES (102, 1, 1), (102, 1, 1), (102, 1, 1), (102, 1, 1), (102, 1, 0), (102, 1, 1), (102, 1, 0), (1...
- Tue Mar 20, 2018 9:52 am
- Forum: Stimulsoft Reports.NET
- Topic: Using Parameters in DataSource query
- Replies: 4
- Views: 1788
Re: Using Parameters in DataSource query
This can be ignored now.
I was using LookUpBox.SelectedValue instead of SelectedItem. It is working now.
I was using LookUpBox.SelectedValue instead of SelectedItem. It is working now.
- Mon Mar 19, 2018 12:21 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using Parameters in DataSource query
- Replies: 4
- Views: 1788
Re: Using Parameters in DataSource query
Hi Edward, Thanks for the help. I have attached the report in question. In Form1 the first LookUpBox is populating correctly with from my table 'SchoolTerms'. I want the second LookUpBox to populate upon the first LookupBox having an option selected. I am currently getting the error 'Object referenc...
- Fri Mar 16, 2018 1:40 pm
- Forum: Stimulsoft Reports.NET
- Topic: Using Parameters in DataSource query
- Replies: 4
- Views: 1788
Using Parameters in DataSource query
I have a parameter '@YearDropDown' that takes it's value from a LookUpBox.SelectedValue I then use @YearDropDown in the following SQL statement in a DataSource. SELECT LD.Description, ST.StartDate, ST.EndDate FROM SchoolTerms ST LEFT JOIN LookupDetails LD ON ST.Name = LD.LookupDetailsID AND LD.Looku...