Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted (edited)

I'm trying to find a way to set a file path for a script that is dependent upon current date, month, and year. The script would eventually save PDF's into this folder automatically.

The file path I am trying to replicate is "/2010-Exams and Reports/6-June 2010 Reports/1 - Report Preparation/"

Of course, I want the year and month to always be up-to-date. Basically, the syntax would look like /(CurrentYear) & " - Exams and Reports/"(numeric number of month) & "-"(Name of month)& " " (Current Year)& " Reports/ 1 - Report Preparation/"

Of course, there are no functions to get the current number of month or year that I'm aware of, but if somebody could shine some led on this issue that would be appreciated.

edit: Also, since I just realized that this is going to be an issue; How can I create files on a network share? Is there a way to do this through Filemaker directly or am I going to have to use Applescript commands?

Edited by Guest
Posted

"Of course, there are no functions to get the current number of month or year that I'm aware of..."

Sometimes it's a good idea to read FileMaker help first:

http://fmhelp.filemaker.com/fmphelp_10/en/html/func_ref1.31.12.html#1028277

Posted

Well that's good to know, it takes care of my first problem :)

Now, on to the second. Is Applescript the only way that I'm going to be able to tell Filemaker to save something to a network fileserver?

Posted

Are there some special file path syntax commands that have to be used that I'm not aware of?

I just tried to create a folder on my desktop, titled exactly the same as my alias folder, and I can save to it. I then made an alias folder on my desktop to the sharepoint, and it gives me the same error.

Posted

Fixed my issue. Had to take out the "/Volumes/" part of my path to make it work.

This topic is 5345 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.