v10
Hi,
Ok, bare with me, as I am just starting out with the scripts. I noticed an action "extract image/file" so thought I would be able to write a script to extract all my images to a folder somewhere when I press a button.
I attached the following script to a button:
[$testvariable] = Records from Folder("Testfolder", "No limitation")
For Each Record From [$testvariable]
Extract Image/File (Testform Details: testimage, [$_myfiles])
Next Item
This doesn't actually do much, the dialogue box opens up allowing me to select records from the Testfolder but nothing ultimately happens. Presumably I am missing a step here?
EDIT: Mind you it could be the same problem whereby export to CSV files is not picking up the image fields. I created a new database from scratch today. It has four records each with two images. I do a csv export selecting all the fields but the csv file is not populated with the image location (out\filename). That column is empty. And no folder of images is created. Export to web page is the same, images don't show. This is the html for that part of the page:
<td valign=top><img src=''></td>
<td valign=top><img src=''></td>
A bug? Could someone else try this to confirm whether it is peculiar to me or not?
Thanks again.
Matty
Hi,
Ok, bare with me, as I am just starting out with the scripts. I noticed an action "extract image/file" so thought I would be able to write a script to extract all my images to a folder somewhere when I press a button.
I attached the following script to a button:
[$testvariable] = Records from Folder("Testfolder", "No limitation")
For Each Record From [$testvariable]
Extract Image/File (Testform Details: testimage, [$_myfiles])
Next Item
This doesn't actually do much, the dialogue box opens up allowing me to select records from the Testfolder but nothing ultimately happens. Presumably I am missing a step here?
EDIT: Mind you it could be the same problem whereby export to CSV files is not picking up the image fields. I created a new database from scratch today. It has four records each with two images. I do a csv export selecting all the fields but the csv file is not populated with the image location (out\filename). That column is empty. And no folder of images is created. Export to web page is the same, images don't show. This is the html for that part of the page:
<td valign=top><img src=''></td>
<td valign=top><img src=''></td>
A bug? Could someone else try this to confirm whether it is peculiar to me or not?
Thanks again.
Matty