• 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
Re: AS Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS Problem


  • Subject: Re: AS Problem
  • From: John W Baxter <email@hidden>
  • Date: Thu, 19 Jul 2001 22:41:24 -0700

At 13:47 +1200 7/20/2001, kim wrote:
>All,
>
>apologies in advance for cross posting to both FMP/AS lists
>
>I'm looking for someone (Ehsan, Jimmy J?) to confirm something for me
>FMP 5/5.5, Mac OS 9.1, AS 1.6
>
>the test db has only a single field and a single record. The field has
>only three words in it.
>
>tell application "FileMaker Pro"
>set thetext to cell "Field1" of current record as styled text
>end tell
>
>Running results in an out of memory error in Script Editor (and a hard
>crash in Script Debugger). After re-starting Script Debugger the script
>may run once or twice but will then revert to quitting or timing out. It
>seems impossibly unreliable.
>
>_however_,
>
>if I apply _any_ style to _any_ character of the text it runs flawlessly.
>
>Runs fine in FMP 4.

As a hunch, this looks like FileMaker trying to access a style block
through a nil handle, and sending garbage (overlength?) back in the result
Apple event.

It would be interesting to run this code on a machine with Even Better Bus
Error installed (eg, a machine with the current MacsBug installed). If my
hunch is right, that should stop somewhere within FileMaker or a system
call FileMaker makes. [I presently lack FMP 5 *and* the current MacsBug,
so while I think this test would be interesting, I can't run it.]

---John

--
John Baxter email@hidden Port Ludlow, WA, USA


  • Prev by Date: LogServices1.1
  • Next by Date: Re: Empty trash with locked items
  • Previous by thread: AS Problem
  • Next by thread: Re: AS Problem
  • Index(es):
    • Date
    • Thread