Hello everyone,Twenty years ago, I built an application using Clarion 6 that manages a taxi company for elderly citizens who need transport for medical appointments. The app is still running perfectly today. It handles client bookings, schedules trip routes, assigns drivers, calculates driver pay, and generates monthly invoices with a detailed trip breakdown.As you may know, Switzerland now requires Swiss Standard QR-bills (QR-codes) for invoices. I need to update my application to print this QR-code on the invoices.Currently, an external Python script successfully generates the QR-code as a JPEG file, naming it with the invoice number (e.g., 12345.jpg).Here is my issue: I need to dynamically load and print this JPEG file inside the Clarion 6 Report writer based on the current invoice number. If I hardcode/embed a static JPEG through the designer, it prints fine. However, I cannot get it to change dynamically at runtime. I am certain there is a way to achieve this.Note: I do own a Clarion 12 license, but I prefer not to migrate this legacy application right now since it works perfectly as it is.Could anyone guide me on how to do this? I would highly appreciate specific examples showing exactly which commands to use and in which Embed points to place them.Thank you in advance for your help!Hello everyone,
Twenty years ago, I built an application using Clarion 6 that manages a taxi company for elderly citizens who need transport for medical appointments. The app is still running perfectly today. It handles client bookings, schedules trip routes, assigns drivers, calculates driver pay, and generates monthly invoices with a detailed trip breakdown.
As you may know, Switzerland now requires Swiss Standard QR-bills (QR-codes) for invoices. I need to update my application to print this QR-code on the invoices.
Currently, an external Python script successfully generates the QR-code as a JPEG file, naming it with the invoice number (e.g., 12345.jpg).
Here is my issue: I need to dynamically load and print this JPEG file inside the Clarion 6 Report writer based on the current invoice number. If I hardcode/embed a static JPEG through the designer, it prints fine. However, I cannot get it to change dynamically at runtime. I am certain there is a way to achieve this.
Note: I do own a Clarion 12 license, but I prefer not to migrate this legacy application right now since it works perfectly as it is.
Could anyone guide me on how to do this? I would highly appreciate specific examples showing exactly which commands to use and in which Embed points to place them.
Thank you in advance for your help!