Jump to content

File importing


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

Recommended Posts

  • Newbies

I am new to FM scripting and am at present converting over some old dBase programs and have a problem. I wish to import a file using details already stored as global variables, that is, the file path is in one global field eg. (C:folder1) and the filename in another (eg. file.csv). I have no trouble importing the file manually into FM but using the Import Records command, scripted, I can't find a way of making it refer to the path and filename using data from the pre-entered global fields. There appears to be a path & file choice but that only locks it into a specific prenamed file. I hope my explanation is clear enough. Anyone help?

Link to comment
Share on other sites

  • Newbies

Maybe I wasn't clear enough. All I want to do is call up a file, using scripting, while in Filemaker and import it into the current file. (I wish to enter the files name into a field so that the filename is part of the record thereby indicating its source.) FileMaker seems to want to have the source "hard-coded" to import records.

Surely someone out there has done this before.

Link to comment
Share on other sites

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