• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
FMP crashes on get cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: FMP crashes on get cell
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >Count lines (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: [ANN] Announcing ScriptDB, The AppleScript database OSAX
  • Next by Date: [ANN] SQLiteAddOns OSAX
  • Previous by thread: Re: Count lines
  • Next by thread: Re: FMP crashes on get cell
  • Index(es):
    • Date
    • Thread