Re: Exporting container fields to specified location
- From: "Sharky" <mistermister2003@xxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 10:16:03 +0100
Anyone ???
"Sharky" <mistermister2003@xxxxxxxxxxx> schreef in bericht
news:b2484$4374d314$3ec2a2bb$9423@xxxxxxxxxxxxxxxxx
> Thanks for your help, but this is really new to me... I tried both ways,
> but can figure out a good script yet.
>
> I've attatched an ZIP file containing an example and the Troi-File Plugin
> (demo version). Is there some one who can help me with the script, so I
> can study on the script? It should work like this:
>
> 1 - Push the button to select a picture to be imported to the container
> 2 - Picture will be loaded by FMP in the container
> 3 - FMP will make a copy of the file and save it in a specified location
> (map), using the same filename and extension
> 4 - FMP will delete the content of the container
> 5 - FMP will show the picture via a link to its new location
>
> Step 2 to 5 should run without a dialog.
>
> Thanks for your help!!
>
> Sharky
>
>
> "Howard Schlossberg" <howard@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> schreef in
> bericht news:11n5l4ddurimi58@xxxxxxxxxxxxxxxxxxxxx
>> In FM8, you should be able to set a variable to your desired folder path
>> and file name, and then use the variable name (i.e. $$FilePath) as the
>> destination in your Export script step.
>>
>> For your link, just be sure to store the path and file name in a text
>> field after you've imported it. Clear the container where the user
>> placed the original image, and then import from that location as a
>> reference link only.
>>
>>
>> Sharky wrote:
>>> Hi,
>>>
>>> I'm trying to set up a database in wich different user can add digital
>>> images from their digital cameras. I don't want to link the container to
>>> the
>>> content, because if the camera is gone, the link is broken. I also don't
>>> want the files to be embed in the database because it soon will have a
>>> very
>>> large filesize.
>>> Therefor I want Filemaker to store the content of the container field
>>> automatically in a specific location (directory). I thought this could
>>> be
>>> done with the "exporting field" script but I can't specify a specific
>>> directory in Filemaker.
>>> Using the export field command only works with a dialog box, but in this
>>> case the user will have to specify the destination directory and I want
>>> to
>>> run the script without a dialog box.
>>>
>>> This is how it should work:
>>> 1 - User hits the import button
>>> 2 - Dialog box pops up and user select the file to import
>>> 3 - FileMaker copies the file to a specific location (no dialog box!)
>>> 4 - FileMaker shows the image in a container field using a link to the
>>> new
>>> storage location.
>>>
>>> Sounds simple, doesn't it??
>>
>> --
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Howard Schlossberg (818) 883-2846
>> FM Pro Solutions Los Angeles, California
>>
>> FileMaker 7 Certified Developer
>> Associate Member, FileMaker Solutions Alliance
>
>
>
.
- Follow-Ups:
- Re: Exporting container fields to specified location
- From: Dan Fretwell
- Re: Exporting container fields to specified location
- References:
- Exporting container fields to specified location
- From: Sharky
- Re: Exporting container fields to specified location
- From: Howard Schlossberg
- Exporting container fields to specified location
- Prev by Date: Re: Inserting files from a folder
- Next by Date: Re: Templates
- Previous by thread: Re: Exporting container fields to specified location
- Next by thread: Re: Exporting container fields to specified location
- Index(es):