Jump to content

Capture file name during import


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

Recommended Posts

Is there a way to easily capture the name of a file being imported into Filemaker during the import process? For instance, if I have a CSV file called "FileName.csv," is there a way to set the value of a global field to "FileName.csv." This would be used to ensure that files aren't being imported multiple times.

 

FM does display a dialog box during the import that says "Importing from FileName.csv," so I'm wondering if there isn't a function already in place that I'm just not privy to.

 

Thanks!

Link to comment
Share on other sites

Is there a way to easily capture the name of a file being imported into Filemaker during the import process?

 

Not during the import, but you can capture the file's name and path before importing it - for example, by having the user select it using the Insert File[] script step (inserting it as reference only into a global container field).

 

Using a plugin (such as ScriptMaster or BaseElements, both free) or AppleScript (if on MacOS) to select the file achieves the same thing in a more elegant way.

Link to comment
Share on other sites

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