try using the repeat for statement instead of the repeat with statement. It can be
much quicker.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Sunday, 24 December 2000 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: slow export
Instead of creating a "super" field (The Text) as a receipient of all the fields
and lines of data, use a variable (theText). Write the variable to the text
file. Same on importing. It seems that most code works about 10 to 20 times
faster on variables than it does on fields. When you're done
I have an "excel-like" spreadsheet Metacard stack with 26 multiple scrolling
fields and 1000 lines of data. The "export" function takes several minutes to
work! My script is:
on writeFile content,filePath
open file filePath
write content to file filePath
close file filePath
end writeFile