Hello,
I have a problem with showing a picture in a factbox.
The picture is not stored in a NAV table, but present in a file on the server (where the RTC runs).
All the data about location are stored in a NAV table.
A record with image ID, is linked to a factbox based on the source "Image table" (this table contains the file location and name).
I tried to get this working.
I added a VAR TempImage (TempImage = a table that contains a blob file).
In the onaftergetrecord from the factbox I tried to get the file and
TempImage.Picture.IMPORT(FileRec.Path + FileRec.Name);
I placed this field in a control of the factbox.
The file is found and imported but not shown.
Can a factbox only show fields from the sourcetable?
Any suggestions how to solve this?
Thanks in advance.
EDIT:
OR: how should I show pictures from file in a factbox? (maybe my solution is totally wrong) :-k
0
Comments
You can import the picture without saving the record when the factbox is displayed, it doesn't have to be in the database permanently.
This is from something I made years ago:
There is no way to show for instance the company information picture in a factbox that is not based on the companyinformatio table. Tried that too. This image did not show either.(did not forget the calcfields...)
Nice dress, by the way.;-)
Thanks, Carolien