Re: Saving lists of records to a text file
Re: Saving lists of records to a text file
- Subject: Re: Saving lists of records to a text file
- From: Andy Wylie <email@hidden>
- Date: Sun, 26 May 2002 09:56:14 +1200
on 25/5/02 7:56 PM +1200: Landis wrote:
>
Please forgive what I hope is an easy question. I'm just not sure
>
how to go about this.
>
>
I've got a list of records that I get out of FileMaker Pro. It's a
>
little slower than snot at about 20 minutes when I want to refresh
>
that list. The question is: is there a way to save these lists of
>
records to a file so that I can just open that again if I know the
>
data in the FMP database hasn't changed since the list of records was
>
last generated?
>
>
For instance in FMP I've got a couple fields and a couple records so
>
when bringing it into AppleScript I generated a record for each FMP
>
record and put together a list of those.
>
>
{{Field1:"Data1",Field2:"Data2"},
>
{Field1:"Data3",Field2:"Data4"}}
>
>
Actually it's a bit more complicated (lists within records within
>
lists within... you get the point) so I'm at a lost to see how I
>
could just save this to a text file and read it back in fairly
>
easily. Any tricks I'm missing?
>
Akua and resources if you can...
--save
save preference from NewRecord named ResNameString of type "reco" in
PrefFileNameString
--list resource name strings
the number of resources in AbsolutePathString of type "reco" with their info
--load resource
the preference named ResNameString of type "reco" in PrefFileNameString
--delete resource
the resource of type "reco" in AbsolutePathString named ResNameString with
removal
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.