Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting field focus in FM5

76 views
Skip to first unread message

bilbod

unread,
Nov 2, 2009, 1:30:07 PM11/2/09
to
Hello,
I'm using Go to Portal Row functions to navigate a data entry layout.
FM5 WinXP. I see where Filemaker keeps the field focus the same
whichever portal row the "Go to" step moves to. I would rather have
the focus default to the field that is first in the tab order with
each Go to Portal Row script. Well, that's fine, using Go to Field
after Go to Portal Row. There's a wrinkle there however. That field
first in the tab order has one copy stacked on the other per a great
tip from Scriptology. The upper copy of the field was last to be set
on the layout while a Go to Field scripted button goes, per Filemaker
protocol, to the first copy of the field which opens a robust value
list. If the user manually or by tabbing enters that field, the value
list doesn't open, they must click the button next to it. So, I'd like
my Go to Portal Row script to finish by entering the upper/non-value
list copy of the field so the value list doesn't open. Use of the Go
to Field step forces the value list. So, is there a way to trigger the
Tab key in a script? I'm not seeing that it's possible. Sorry this is
convoluted.
Bill

Your Name

unread,
Nov 2, 2009, 7:22:55 PM11/2/09
to

"bilbod" <bja...@montanaport.net> wrote in message
news:c9765b87-5945-478f...@u16g2000pru.googlegroups.com...

Don't ask me why the Go to Field command doesn't include "Next" and
"Previous" options (as found in Go to Record / Page), but there is a
separate Go To Next Field command which you can use instead.

Knowing the Tab order you can use multiple copies of the command to get to
the correct field. For example, if the field you want to be in is two Tabs
after the incorrect field, the Script would be:

Go to Field [Relationship::WrongPortalField]
Go to Next Field []
Go to Next Field []

The only hiccup here is that the field you do want must be in the Tab order
(not excluded).

Helpfull Harry :o)


bilbod

unread,
Nov 2, 2009, 9:30:18 PM11/2/09
to
Thanks Harry,
I see that script step and you've given me something to chew on. The
field I want to go to is number one in the tab order; looking forward
to some scripting mayhem!
Best,
Bill

bilbod

unread,
Nov 2, 2009, 9:42:24 PM11/2/09
to
I've got it working just great. I go to the original field that pops a
value list and is out of the tab order; then Go to Field Next..goes to
number 1! The value list doesn't pop and I've got my user right where
I want em!
Bill


0 new messages