Hi there Vince,
Welcome to the forum.
You can use the Get ( SystemPlatform ) calculation function to work out the users platform and modify the filepath from there. This is the calculation you would need to display either "filemac:" or "filewin:" based on platform.
If ( Abs ( Get ( SystemPlatform ) ) = 1 ; "filemac:" ; "filewin:" )
Without more details on how and where you are exporting to, is it a specific location on the users machine? I cant detail how you would do this.
I hope this helps and do post if you need any more assistance with this.
I sorry if I appear a little confused, but It seems then when you insert a file into a container field as reference only, Filemaker only includes a generic file and OS specific reference to that file. I can and have modified the location of the export field contents to conform to the specific OS.
Import $Path (this takes into account which OS the import of the reference is - and works cross platform)
"filewin://Xserve/data1/ERP/FreeErpDocs/" & Documents::Record ID & ".PDF¶" &
"filemac:/Data1/ERP/FreeErpDocs/" & Documents::Record ID & ".PDF"
But FMP only stores this reference as evidence by using the Get ( ActiveFieldContents ) function
I gave up and called Tech Support (they didn't end up charging me). A both nice and informative fellow named Chris offered a few workarounds. It is true that FMP only tracks one OS path when saving a container object with the "file reference only" option clicked, but if instead of using the "export filed contents" step you use the "open url" or "send event" step it works like a charm. The trick is getting the path from the container field using the "get(field contents)" function and then changing it to fit whatever OS you are using at the time. Works slick.