FMP crashes on get cell
FMP crashes on get cell
- Subject: FMP crashes on get cell
- From: Xandra Lee <email@hidden>
- Date: Wed, 17 Nov 2004 07:22:44 -0500
The following snippet reliably crashed FMP7 -
tell application "FileMaker Developer"
set cellData to cell "FileRef" of current record of window 1
end tell
set fileRef to cellData as string --this crashed FMP when the cell was a
container which stored a file
DETAILS:
the tested cell "fileRef" was an inserted file (not store reference only)
so naturally the amount of data returned was large - but I tried this on
tiny files - and still FMP went BLAMMO
**** Is there anyway to test if a cell is just a file reference is stored
(so I can avoid crashes) - as it seems accessing this data is dangerous?
I'd like to be able to to return the file reference: file "HD:folder
filename" when that's all that¹s stored -- (not the data) -- but don't dare
Thanks in advance,
xandra
_______________________________________________
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
References: | |
| >Count lines (From: Paul Berkowitz <email@hidden>) |