Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More FMP8 Questions




I am not sure if this is any help but you can use a find request if what you want is an id list of "Open records"
tell application "FileMaker Pro Advanced" --8.5v1
activate
tell document 1 -- or quote name
set ActiveWindow to name of window 1
set ActiveLayout to name of current layout
set layoutTable to name of current table
show every record of table layoutTable
end tell
tell current layout
try
delete every request
end try
set x to create request
set cell "Status" of request 1 to "open"
find of ActiveWindow
set theIDList to cell "ID" of every record
set CountOfRecords to record count
set CountOfRecords to CountOfRecords as string
if (count of records) = 0 then
display dialog "No records found" buttons "OK"
return
end if
end tell
display dialog CountOfRecords & " Records Found:" & return & theIDList buttons "OK" giving up after 5
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.