Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 1957 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Greets, all:

I'm sure this has been asked but after searching through 168 pages of this forum, I couldn't find an answer so it's on me that if this is a repeat question. Sorry.

This involves FileMaker Pro v12 client and server on another company's machine in another location; I'm using a VPN to help out.

I want to code a script to import a file from the user's desktop (in a folder named StuAdd; the filename is Full_Download.xlsx) but I don't know how to code the syntax for importing from either a Mac or PC to the file on the server.

So far, I have:

Case ( Abs ( Get ( SystemPlatform ) ) = 1 ; "filemac:" ; "filewin:" ) & Get ( DesktopPath ) & 

...and that's as far as I got. I tried ...(Get (DesktopPath) & /StuAdd/Full_Download.xlsx, but that didn't work, so I need help with the syntax.

One question off the top of my head is, with FMP v12.x being so dated, does it even recognize .xlsx as an extension?

 

Cheers,

Rich

Edited by Rich
Posted

The result of Get (DesktopPath) includes a trailing /, so try:

Get ( DesktopPath ) & "StuAdd/Full_Download.xlsx"

 

29 minutes ago, Rich said:

does it even recognize .xlsx as an extension?

The .xslx format is supported since at least version 10, if not earlier.

This topic is 1957 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.