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

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

Recommended Posts

  • Newbies
Posted

Hello everyone. Just joined...

I'm building a complex scientific application consisting of both a C++ Mac application (OS-9 and X), a FileMaker Solution, and a FileMaker Plugin.

I need to communicate data from my C++ App and FileMaker. Currently i do it (very primitively) using export/Import comma delimited text files. The only problem is that both programs need to know where to find these temporary files.

Also, this must work on both OS-9 and OS-X! so i decided on using the "Documents Folder". however, how do i set FM Script Step to Export to "Documents Folder/export.txt"? Is there a way to give FM a path to which it goes when exporting?

Posted

Do the export, giving the exported file the name and location you want.

Then create a script to export records, no dialog, and define the same name and location. You'll get a dialog box asking if you want to replace the current file. Say yes.

Thereafter, when you run the script, it'll replace the old export file with the new one.

Posted

When you say "replace the current file", I think you mean "replace the settings currently stored" (or something like that?).

If that's the case, won't you have to do this on every machine you plan to use the database on?

That might not help if you're planning on wide distribution of the solution.

Posted

I mean that the second time you run the export, since the user will already have an exported file with the preset name and in the preset location, the new export will overwrite the old export.

That seemed to be what you were asking to be able to do; perhaps I misunderstood.

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