I have a perhaps somewhat related question. I've inserted a container field in a layout where I would like to stash the link to PDF file on the server. Optimally I would like to write a script with a fixed path with the last section being driven by the contents of a field with sequential number. Then, as each new record is created, a script would load the linked referenced file in the container. There are appear to me to be zero options for 'calculating' a path name that works with container fields.

The file is for construction management of architectural projects. PDFs of proposed change orders go directly into a folder, nominally projectNumber/10a CA/PCOs/<PCO #>.pdf. When the new record is created and the seequential PCO number assigned, i'd like to be able to initiate a script that then grabs the path as noted above. I don't see any way to do this except by going through the right click menu to Insert File . . Optimally I could also insert the project number as part of the string and I wouldn't have to reset for every project.

Also I've noticed that if I insert the file link from the Mac, a PC is not able to click to open the PDF.

FMPA & FMPSA 9.x, Mac; FMP 9.x on the PeeCees.

Thanks in advance,

Craig Gaevert AIA
Architect
TLCD Architecture
Santa Rosa, CA
www.tlcd.com





On Dec 11, 2008, at 14:18, Ron wrote:

Yes you are right.
I was trying to "package" something that didn't need it.
Ron

-----Original Message-----
From: FileMaker Pro Discussions [mailto:FMPRO- [email protected]] On
Behalf Of Lee
Sent: Thursday, December 11, 2008 4:56 PM
To: [email protected]
Subject: Re: Need file path to import

Sorry, when using the script command you get the same 'browse' option to
source the import file

Lee

Ron wrote:

I need to be able to get the file path of a FM file that I then want
to import, all in a script.

The various Get.Path don't seem to ask the user..

Need it to work on both windows and Mac.

FM 8.5.

Any help appreciated!

Ron


--


Reply via email to