controlling portal fields 
Author Message
 controlling portal fields

Yes,
It's me again. Just a quick thanks to everyone who's helped me so far (and I
hope I've been somewhat helpful ;-). Is there an easy way to control portal
tabbing?

As a user goes through the layout they encounter a portal which can have
multiple rows, but at some point this must stop. Is it possible to set up
some kind of script that will allow them to continue on through the rest of
the layout?

One possibility I was thinking about was something similar to what I asked
before (about executing a script via a pop-up selection). But I don't know
what kind of performance hit this will bring, as it would be run on every
row that the user enters.

-warner



Tue, 04 Nov 2003 09:06:29 GMT
 controlling portal fields

There is a way to execute a script in response to a selection in a pop up
menu (not a list). But what really triggers this script is clicking on the
field (which is a button). A script can detect the current field and go to
another, but a field that is turned into a button won't trigger it's script
if its tabbed in to.
You could create a background script that always runs in a loop- pausing for
user input, checking the current field, etc..- this is a general approach to
getting FM to react to events that it generally can't (with out a plugin).
People have different things to say about this kind of script, and it
performance depends allot on the layout- the script usually has to perform
some thing like an exit record request or a refresh step with each loop and
this can make calculation fields and portals flash noticeably while they
reevaluate. I haven't seen this kind of script work to well and don't
suggest it unless you really need it and don't want to spring for a plugin.
Though it's not a perfect solution, I suggest creating a "tab out of portal
script", assigning it to one of the Ctrl #1-0 keys and add a comment to the
layout or help file like: "press ctrl 1 to tab out of portal".

--

C. Alex Lorda


Quote:
> Yes,
> It's me again. Just a quick thanks to everyone who's helped me so far (and
I
> hope I've been somewhat helpful ;-). Is there an easy way to control
portal
> tabbing?

> As a user goes through the layout they encounter a portal which can have
> multiple rows, but at some point this must stop. Is it possible to set up
> some kind of script that will allow them to continue on through the rest
of
> the layout?

> One possibility I was thinking about was something similar to what I asked
> before (about executing a script via a pop-up selection). But I don't know
> what kind of performance hit this will bring, as it would be run on every
> row that the user enters.

> -warner



Tue, 04 Nov 2003 11:25:33 GMT
 controlling portal fields
Hi Warner

Do you want users to tab into the portal at all?  If not, you can just
omit the fields in the portal from the tab order.

If you need to include it in the tab order, it will automatically tab out
of the portal after the last related record.  If you want to jump ship
before then, the best way is to just to click in the next field out of the
portal, then start tabbing again from there.  I can't imagine that there
is anything that you could do that would be any easier than that.

If you need to tab backwards in the tab order, its shift-tab on a Mac.

--
Bridget Eley


Quote:

> Yes,
> It's me again. Just a quick thanks to everyone who's helped me so far (and I
> hope I've been somewhat helpful ;-). Is there an easy way to control portal
> tabbing?

> As a user goes through the layout they encounter a portal which can have
> multiple rows, but at some point this must stop. Is it possible to set up
> some kind of script that will allow them to continue on through the rest of
> the layout?

> One possibility I was thinking about was something similar to what I asked
> before (about executing a script via a pop-up selection). But I don't know
> what kind of performance hit this will bring, as it would be run on every
> row that the user enters.

> -warner



Tue, 04 Nov 2003 11:25:38 GMT
 controlling portal fields
Thanks for the responses!

-warner


Quote:
> Hi Warner

> Do you want users to tab into the portal at all?  If not, you can just
> omit the fields in the portal from the tab order.

> If you need to include it in the tab order, it will automatically tab out
> of the portal after the last related record.  If you want to jump ship
> before then, the best way is to just to click in the next field out of the
> portal, then start tabbing again from there.  I can't imagine that there
> is anything that you could do that would be any easier than that.

> If you need to tab backwards in the tab order, its shift-tab on a Mac.

> --
> Bridget Eley



> > Yes,
> > It's me again. Just a quick thanks to everyone who's helped me so far
(and I
> > hope I've been somewhat helpful ;-). Is there an easy way to control
portal
> > tabbing?

> > As a user goes through the layout they encounter a portal which can have
> > multiple rows, but at some point this must stop. Is it possible to set
up
> > some kind of script that will allow them to continue on through the rest
of
> > the layout?

> > One possibility I was thinking about was something similar to what I
asked
> > before (about executing a script via a pop-up selection). But I don't
know
> > what kind of performance hit this will bring, as it would be run on
every
> > row that the user enters.

> > -warner



Tue, 04 Nov 2003 11:30:57 GMT
 controlling portal fields
Does Filemaker allow us to assign scripts to certain keys?  If so, you can
write a script that takes you to the field following the portal, and use the
assigned key instead of the tab key.  You can put a note next to the portal
as a reminder.


Wed, 05 Nov 2003 12:48:03 GMT
 
 [ 5 post ] 

 Relevant Pages 

1. Standard Field to Portal Field Transfer

2. How to control data entry on a second portal

3. Help: Controlling portal record display order in FMP v3

4. Controlled Portal Scrolling ?

5. controlling field sizes via numeric field input?

6. Child fields - binding control to field

7. Oracle Portal vs Novell Portal

8. To Portal or not to Portal

9. Add item in line item portal from another portal

10. FILTER PORTAL RECORDS - DISABLE ADDING NEW RECORDS IN A PORTAL

11. Copy Portal to Portal

12. Displaying a portal based on a portal


 
Powered by phpBB® Forum Software