Drew,

If I understand the situation correctly, you'll have a window open (window
A), with a results list and a detail pane showing.  The user will double
click the results list, which will open that ticket in another window
(window B).  You want them to click a "save and next" button that will save
the ticket and close the current window (B), and open the next record in the
results list of Window A.

If the above is the case, then the PERFORM-ACTION-APPLY should be associated
with window B and the PERFORM-ACTION-NEXT associated with window A.

With that in mind, can you use Server Events to have window B send an event
to the "parent window" (i.e. window A).  On receipt of that event, Window A
would move to the next record.

In rough terms:
Window B - active link, execute on button
perform action apply
set flag "sendevent?"
close window

Window B - active link, execute on window close
if "sendevent?" flag is set, send the event to parent window.

Window A - active link, execute on event
(use the event data to qualify this)
perform action next.

Blend to taste.

Hopefully that gives you some ideas.

Thad

On Thu, Aug 19, 2010 at 6:49 AM, Drew Shuller <[email protected]>wrote:

> Hello everyone,
>
> I'm trying to make a button save and close a record in modify mode.
> Easy enough, yes, but I want the button to close the window only if
> the record has been opened from a results list. Eventually I want to
> add a PERFORM-ACTION-NEXT action to the AL so that the button will
> save the record, close the current one, and then open the next one in
> the list. Any help?
>
> Muchas Gracias!
>
> Drew Shuller
> Soto Cano Air Base
> Comayagua, Honduras
>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to