• Re: SPrint Images in report pro

    From fernando moreno@21:1/5 to All on Mon Jun 19 06:42:19 2023
    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?

    Thanks
    Somebody sorry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fernando moreno@21:1/5 to All on Mon Jun 19 06:32:04 2023
    Sambosy know how can print an image using ReporPro using the File Name for a expresion?

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to fernando moreno on Wed Jun 21 01:28:02 2023
    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.
    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?

    Thanks
    Somebody sorry

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fernando moreno@21:1/5 to All on Wed Jun 21 04:46:03 2023
    El miércoles, 21 de junio de 2023 a las 7:28:06 UTC+2, Jamal escribió:
    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.
    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?

    Thanks
    Somebody sorry
    Thank you for your response.

    But unfortunately i use Report Pro 2.14

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to fernando moreno on Wed Jun 21 11:23:26 2023
    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)


    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?

    Thanks
    Somebody sorry
    Thank you for your response.

    But unfortunately i use Report Pro 2.14

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fernando moreno@21:1/5 to All on Wed Jun 21 09:05:27 2023
    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)


    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?

    Thanks
    Somebody sorry
    Thank you for your response.

    But unfortunately i use Report Pro 2.14

    Thanks.

    I will try it.

    Does it work with PNG files?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jamal@21:1/5 to fernando moreno on Wed Jun 21 13:38:46 2023
    Don't you have RP installed? <g> Why not try it?
    Sorry, to be blunt! But you are a developer and should attempt to find
    the answer on your own since the RP has the answer which is clearly
    documented and visible in the RP designer.

    I'll be nice this time :)
    Does it work with PNG files? <<
    Yes!

    Jamal

    On 6/21/2023 12:05 PM, fernando moreno wrote:
    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)


    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?

    Thanks
    Somebody sorry
    Thank you for your response.

    But unfortunately i use Report Pro 2.14

    Thanks.

    I will try it.

    Does it work with PNG files?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)