Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
El lunes, 19 de junio de 2023 a las 15:32:05 UTC+2, fernando moreno escribió:
Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
Use: oReport:SetVariableValue(1, "image_control", ImageFilePath)
In ReportPro, insert a picture box, then double click to see properties window. Select: File Name Returned from an Expression.Thank you for your response.
Enter image_control in f(x) text box.
BTW: the above assumes ReportPro 3.x.
Jamal
On 6/19/2023 9:42 AM, fernando moreno wrote:
El lunes, 19 de junio de 2023 a las 15:32:05 UTC+2, fernando moreno escribió:
Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
El miércoles, 21 de junio de 2023 a las 7:28:06 UTC+2, Jamal escribió:
Use: oReport:SetVariableValue(1, "image_control", ImageFilePath)Thank you for your response.
In ReportPro, insert a picture box, then double click to see properties
window. Select: File Name Returned from an Expression.
Enter image_control in f(x) text box.
BTW: the above assumes ReportPro 3.x.
Jamal
On 6/19/2023 9:42 AM, fernando moreno wrote:
El lunes, 19 de junio de 2023 a las 15:32:05 UTC+2, fernando moreno escribió:
Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
But unfortunately i use Report Pro 2.14
In Rp 2.x:
oReport:SetVariableValue("image_control", ImageFilePath, 1)
Check the developer help file.
In the Designer:
Create a variable named image_control. Leave position as is, Set Initial Value: "". Reset Level: Section. Expression: image_control
Then insert a picture control, then select File Name Returned from an Expression, and in variable name enter image_control.
Good Luck!
Jamal
On 6/21/2023 7:46 AM, fernando moreno wrote:
El miércoles, 21 de junio de 2023 a las 7:28:06 UTC+2, Jamal escribió:
Use: oReport:SetVariableValue(1, "image_control", ImageFilePath)Thank you for your response.
In ReportPro, insert a picture box, then double click to see properties >> window. Select: File Name Returned from an Expression.
Enter image_control in f(x) text box.
BTW: the above assumes ReportPro 3.x.
Jamal
On 6/19/2023 9:42 AM, fernando moreno wrote:
El lunes, 19 de junio de 2023 a las 15:32:05 UTC+2, fernando moreno escribió:
Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
But unfortunately i use Report Pro 2.14
Yes!Does it work with PNG files? <<
El miércoles, 21 de junio de 2023 a las 17:23:30 UTC+2, Jamal escribió:
In Rp 2.x:
oReport:SetVariableValue("image_control", ImageFilePath, 1)
Check the developer help file.
In the Designer:
Create a variable named image_control. Leave position as is, Set Initial
Value: "". Reset Level: Section. Expression: image_control
Then insert a picture control, then select File Name Returned from an
Expression, and in variable name enter image_control.
Good Luck!
Jamal
On 6/21/2023 7:46 AM, fernando moreno wrote:
El miércoles, 21 de junio de 2023 a las 7:28:06 UTC+2, Jamal escribió: >>>> Use: oReport:SetVariableValue(1, "image_control", ImageFilePath)
Thank you for your response.
In ReportPro, insert a picture box, then double click to see properties >>>> window. Select: File Name Returned from an Expression.
Enter image_control in f(x) text box.
BTW: the above assumes ReportPro 3.x.
Jamal
On 6/19/2023 9:42 AM, fernando moreno wrote:
El lunes, 19 de junio de 2023 a las 15:32:05 UTC+2, fernando moreno escribió:
Sambosy know how can print an image using ReporPro using the File Name for a expresion?Somebody sorry
Thanks
But unfortunately i use Report Pro 2.14
Thanks.
I will try it.
Does it work with PNG files?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 299 |
Nodes: | 16 (3 / 13) |
Uptime: | 48:30:15 |
Calls: | 6,685 |
Calls today: | 3 |
Files: | 12,225 |
Messages: | 5,344,309 |
Posted today: | 1 |