Jump to content

Importing - passing a filename to script


markga
 Share

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

Recommended Posts

Is there a way to pass along a filename from a field to a script for import? I want to automate the script process (which I've done) but I still have to tell the script which filename(this changes daily)and directory to find the import file. I wanted to pass these values from the data in the database (they exist).

Link to comment
Share on other sites

Not that I'm aware of. I've often wished there was!!

Would it be possible to look at it the other way round and export the data from the other file? That way you could run a script from the main file and use Send Message specifying a filed for the file name. You could set the script in the secondary file for exporting data to run automatically on start up.

Link to comment
Share on other sites

Thanks for the answers! I can set the other program to export to a single filename each time (its using the system date to build the filename now). Or perhaps I can write a little fmp program to take the employees punches for the day....yes I'm sure I can.

Thanks again!

Link to comment
Share on other sites

This topic is 7540 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
 Share

×
×
  • Create New...

Important Information

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