Jump to content

read current cell value in Filemaker


This topic is 8334 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Thanks for your comment.

I see that I didn't explain the problem clearly.

To paraphrase the code in English:

repeat

go to the next cell

if this cell is empty then --(I don't know this cell's name)

do this

else

do that

end if

end repeat

My question is whether applescript has syntax to identify and

read the value of the cell it is currently in. (such as it

can with a record) This would make it easy, but I can't find

the magic words.

I realize that I can use FMP to get status(current Field Name)

and then get the cell value from that.

Bob

Link to comment
Share on other sites

It is not possible to get the value of "the current cell".

"Current" is only avable for record and layout.

To get the value of a cell, you must use the name or number from the cell.

something like :

tell application "FileMaker Pro"

repeat with x from 1 to (count fields)

if (get cell x of current record) = "" then

do this

else

do that

end if

end repeat

end tell

Jean-Marie -HOO;-)

[ September 29, 2001: Message edited by: Jean-Marie ]

Link to comment
Share on other sites

This topic is 8334 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.