hi i design data band1 using one datasource
in my data band1 i have a sub report loading in another data source know i want to load image in sub report using content of one of object (text1) in my data band 1
select image from information where code=@code
@code refers to (text1) and it change dynamically with text1 changes in data band1 in data band1 and this parameter load image in sub report
thanks
loading image in sub reprt
loading image in sub reprt
Hello,
Which version of our product you use? Sorry without sample project very hard say what wrong with your report. Can you send it to support@stimulsoft.com.
Thank you.
Which version of our product you use? Sorry without sample project very hard say what wrong with your report. Can you send it to support@stimulsoft.com.
Thank you.
loading image in sub reprt
hi
here is a sample report
as you see i have a main report in my main report i have a sub report that loading image in it
i have a datarest_code in my main report i want subreport in each page dynamically read that textbox and search in information datasource and find a fine image for that code
thanks
here is a sample report
as you see i have a main report in my main report i have a sub report that loading image in it
i have a datarest_code in my main report i want subreport in each page dynamically read that textbox and search in information datasource and find a fine image for that code
thanks
loading image in sub reprt
hi
here is a sample report
as you see i have a main report in my main report i have a sub report that loading image in it
i have a datarest_code in my main report i want subreport in each page dynamically read that textbox and search in information datasource and find a fine image for that code
thanks
here is a sample report
as you see i have a main report in my main report i have a sub report that loading image in it
i have a datarest_code in my main report i want subreport in each page dynamically read that textbox and search in information datasource and find a fine image for that code
thanks
- Attachments
-
- 494.WindowsApplication1.rar
- (27.04 KiB) Downloaded 207 times
loading image in sub reprt
Hello,
During report rendering exist two instance of each component (minimum two instance). One instance - component in report template. Second instance - component which created for rendered report. During creation of second instance report engine calculate expressions and write it to second instance. When you write expression like this: {Text1.Text}, you call instances from report template which does not contain calculated values from expressions.
Workarounds:
1. Instead of "{Text1.TextValue}" expression use the same expression as in Text1.Text property, or
2. Use variables. In this case you can calculate value in variable, and then use this variable in expressions.
In your case please use the first method and modify your querry:
Thank you.
During report rendering exist two instance of each component (minimum two instance). One instance - component in report template. Second instance - component which created for rendered report. During creation of second instance report engine calculate expressions and write it to second instance. When you write expression like this: {Text1.Text}, you call instances from report template which does not contain calculated values from expressions.
Workarounds:
1. Instead of "{Text1.TextValue}" expression use the same expression as in Text1.Text property, or
2. Use variables. In this case you can calculate value in variable, and then use this variable in expressions.
In your case please use the first method and modify your querry:
Code: Select all
select * from information where card={rest.code}