FileMaker Pro 9 Advanced get data from field

I’m having trouble getting data from a global field into an Applescript.

Here’s what I have now.

tell application "FileMaker Pro" to set theCounty to cell g_CorpCounty of database 1

The script keeps giving me an error “theCounty” is not defined. Unknown error -2753.

I’ve read that adding a try statement helps native Applescripts in FileMaker, but it hasn’t prevented to error so far.

(This is on 10.4.11 using FM Pro Advanced 9.0v1)

Help please!

Just a matter of quotes

tell application "FileMaker Pro" to set theCounty to cell "g_CorpCounty" of database 1

Curses! Foiled by the quote mark. :lol:

THANKS!