> So the FileMaker script would look like:
>
> Commit Record
> Go to Record [ First ]
> Loop
> If [ Get ( RecordNumber ) ≠ Get ( FoundCount ) ]
> Perform AppleScript [ the 1st one above ]
> Else
> Perform AppleScript [ the 2nd one above ]
> End If
> Go to Record [ Next, exit after last ]
> End Loop

I'd also like to point out that if you *are* looping through multiple
records, you're better off aggregating the text into a FileMaker field,
then writing out to the text file on disk once at the end. Performing a
"do shell script" inside an AppleScript every time through the loop is
terribly inefficient. The exception (with FileMaker 6) is when your text
will exceed the 64000 character limit.


-- 
Tim Mansour <[EMAIL PROTECTED]> (currently working in Melbourne)
Mobile 0405 500 846

Reply via email to