Re: variable setting in repeat loop
Re: variable setting in repeat loop
- Subject: Re: variable setting in repeat loop
- From: Jan Bruners <email@hidden>
- Date: Fri, 21 Feb 2003 11:06:47 +0100
Malcolm,
>
You should look at the "filemaker and Applescript" database that came
>
with FMPro. It answers all of these questions.
>
I will certainly do. I am using AS in a Nutshell right now, but at some points, it does not help.
>
"count of records" will count the number of records in the database,
>
which is the same every single time. You want to count the number of
>
records in the found set, which is the "document", ie, "count of
>
records of document 1"
>
Hm. To my experience, this is not needed. "count of records" returns the number of records in the found set (at least in FMP 5.5).
>
-- note
>
-- item 1 of anzahlen is currently set to the value of sg10
>
-- it is not the variable sg10
>
-- setting the value in this way changes the value of
>
-- item 1 of anzahlen not the value of sg10
>
-- if you want to change the values of sgXX
>
-- you will have to "refer" to them
>
-- someone else may show you how to do that
This was exactly my problem. Ivan Andrus (see his posts) pointed out using "a reference to sg10" and "contents of item i", which worked for me.
Thanks for your help,
- Jan
--
Jan Bruners
University of Cologne
Department of German Linguistics and Literature
Albertus Magnus Platz - 50923 Koeln - Germany
_______________________________________________
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.