AnsweredAssumed Answered

Copy images from one table to another

Question asked by yamu on Mar 15, 2016
Latest reply on Mar 15, 2016 by yamu

I'm developing a FM 14 GO Application, where I have a table with lot's of images which the user made with the camera of the iPad. The "camera and putting the images in a table"-part works great.

 

Now the second part of the application is the user have a popover with a portal where all images are listed, each row has a checkbox which can be checked and the popover has a button "insert selected pictures" where all selected pictures should be inserted (as a copy) in another table.

I tried:

 

Set Variable [$Path; Value: "file:" & Get ( TemporaryPath ) & "test.jpg"]

Export Field Contents [Table1::Containerfield1; "$Path"]

Insert File [Table2::Containerfield2; "$Path"]

 

This works, but not very well. The inserted Picture is not shown as a picture in Containerfield2 instead it is a JPG-Icon with the Filename. When I doubleclick, the image will be shown. And 2nd it doesn't work on the iPad.

 

How can I get it right?

Thanks, Hans

Outcomes