Main Page | Report this Page
Computers Forum Index  »  Computer - Databases - Filemaker  »  Setting field focus in FM5...
Page 1 of 1    

Setting field focus in FM5...

Author Message
bilbod...
Posted: Mon Nov 02, 2009 6:30 pm
Guest
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
 
bilbod...
Posted: Tue Nov 03, 2009 2:30 am
Guest
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...
Posted: Tue Nov 03, 2009 2:42 am
Guest
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
 
Your Name...
Posted: Tue Nov 03, 2009 5:22 am
Guest
"bilbod" <bjaynes at (no spam) montanaport.net> wrote in message
news:c9765b87-5945-478f-82b0-cdfa722ad4f2 at (no spam) u16g2000pru.googlegroups.com...
Quote:
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.

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 Surprised)
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 29, 2009 12:01 am