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.
If what you're indeed doing is storing the link--ie, the path--then a
text field makes more sense. This could be a calculated field as you
required, and the calculation would take into account the client
platform, given that the path is going to be different for Mac v. PC.
Something along the lines of:
PDFPath =
if ( Abs ( Get ( SystemPlatform ) ) = 1; // Mac:
"/Volumes/MountPoint/Project/10a CA/PCOs/" & PCOField & ".pdf";
// else Windows:
"z:\Project\10a CA\PCOs\" & PCOField & ".pdf" )
This of course assumes you can reliably calculate the same path for
each client.
--
Tim Mansour <[email protected]>
Neologica Print & Promotions (ABN 63 904 335 408)
159 Commonwealth Street Surry Hills NSW 2010
Sydney 02 9212 1789 Melbourne 03 9012 7441 Mobile 0405 500 846