Is it possible to copy picture from datamaster to another?

Massi Majava shared this question 5 years ago
Answered

Is it possible to copy a picture from datamaster to another.


What i am trying to do:


1. I create datamaster. Add "picture" into data master fields and set up the wanted .jpg picture from "view and edit records" page of "datamaster details".


2. I add data grid into canvas, add needed details and see that the picture is seen in simulation.


3. Create another datamaster that will get values (picture) from first datamaster and add datagrid to canvas


4.Add button and set event that will copy data from 1st datamaster to second.


And the problem is that i can't figure out how that event should be done, or is it even possible?


Text data works fine, but pictures are causing problems.


885306927d6ea9138e1e61a9648b3929

Comments (1)

photo
1

I don't think it is possible because you have to have predefined images in datamaster to use the images. But here's a workaround I can think of.


Create a data master, input all the images there. Make a duplicate of that data master. Add an extra data field to this duplicate data master, say 'isCopied'. In this column, you will only enter either yes or no. If yes, then that means the picture is copied from original datamaster to the duplicate, no otherwise.


Please feel free to ask if you have any further questions.