Re: FMP question
Re: FMP question
- Subject: Re: FMP question
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 07 Nov 2000 22:47:53 -0800
On 11/7/00 10:39 PM, "Peter Mathiessen" <email@hidden> wrote:
>
Hi all,
>
>
Is it possible to tell Filemaker to import a file into an specific database?
>
>
The case:
>
>
Every morning I have a number of BBEdit-files that I manualy import into
>
filemaker, different databases for each BBEdit-file. I have looked briefly
>
at Filemaker scripting but have not seen any way to do this.
>
>
Can this be done?
>
It's what I've spent the last week doing, automatically importing from
zipped attachments in Entourage messages without any human intervention. In
this case, I've been asked to make use of my user's FileMaker scripts, which
did the actual importing. You can use 'do script (FileMaker script)' to do
so, as I did. But in the process, I actually add a field to all the records
by first reading the tab-delimited text file and adding a tab and a value to
each line there. The FMP scripts have to be set to a specified path name for
the files they import, so I write the altered read files to a "dummy" file
called "Current File" in its own folder. (Actually there are three different
ones in different folders, depending on the coding in their names.) Once I
was reading the tab-delimited files, I would actually have preferred to
"import" the records (the lines of the file) by pure applescript into an FMP
database as separate records. There's a fast way, which Shane showed, if you
"verticalize" the text to get fields. Search the archives here (if they're
now searchable) during the past week for the topics "FMP question" and
"Another FMP question".
--
Paul Berkowitz
References: | |
| >FMP question (From: Peter Mathiessen <email@hidden>) |