Re: filemakerpro, go to the next record
Re: filemakerpro, go to the next record
- Subject: Re: filemakerpro, go to the next record
- From: "Manfred M.Strasser" <email@hidden>
- Date: Sun, 11 Dec 2005 00:23:00 +0100
1. I have never experienced a need to get the record ID as integer.
Merely
saying set recID to record ID of current record is good enough.
Even though
it may display in scientific notation if you ask applescript to
show you the
record ID that is not how it is actually stored.
If I try to get the record ID I get it in the scientific notation -
always.
2. It is very unlikely that the next record will have the next integer
value. The user may very well have picked a sort order that does
not put the
record ID in sequence. Also, FileMaker record ID values frequently
do not go
in integer sequence, there are some big jumps. And the user may
have deleted
records.
Yes! You are right. My train of thought was incomplete.
Thanks!
3. The correct way to do this is to go to record after current record.
Yes. My way isn't the right way ...
tell application "FileMaker Pro"
try
go to the record before current record
end try
end tell
br
Manfred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden