March 16, 200322 yr Newbies 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?
March 17, 200322 yr 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.
March 18, 200322 yr 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.
March 18, 200322 yr 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.
Create an account or sign in to comment