FM Pro . Get Field Name
FM Pro . Get Field Name
- Subject: FM Pro . Get Field Name
- From: Joe Postscript <email@hidden>
- Date: Tue, 23 Oct 2001 00:58:40 -0400
- Organization: ttp://livepage.apple.com/
Good Morning,
I'm trying to find the syntax to ask filemaker what
field is currently selected. With a cursor blinking
or text selected in a field, I need to get the name
of that "active, selected, or current" field.
I normally can use "current" when referencing the
active layout or record. using "current" when
referencing either cell or field, it won't compile.
These work but arent telling me the selected field,
tell application "FileMaker Pro"
activate
get name of field 1 of layout 0 of database 1
get name of last field of layout 0 of database 1
get name of every field of layout 0 of database 1
end tell
This Doesn't Compile
tell application "FileMaker Pro"
activate
get name of current field of layout 0 of database 1
end tell
There must be a way to ask the name of the active
or currently selected field. Any Ideas?
------
Thanks, Joe