OutFormImage
Gastón Salomone
1-8-19
Hi,

I have a requirement in one Project to put an image in a Document.
The problem is that the Image should change depending on some data in the register, so Its not posible to set a filename in Picture box in Document designer.

I managed to set a blank filename in a Picture box and use OutFormImage(XXXVc) to pass a picture attach to XXXVc Register. The problem is that XXXVc must be the same on which the document is based.
Por example, if I´m printing an Invoice, I must attach a picture to every Invoice and use OutFormImage(IVr).

Is there any code to set filename dinamically ?

There are several different images, so there is no posibility to create one Document for each image, because If any change is requiered in the document design, t must be done in all documents manually.

Regards
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025