Success!!!!

That did it. Changed all my column references to display only fields.

Thank you.

On 2/20/07, Ben Chernys <[EMAIL PROTECTED]> wrote:

** There are significant bugs with nested table loops.  These are in all
releases of the user tool up to at least 7.0.0.   I have not tested these
things beyond 7.0.0.

Do not use a qualification in the second table based upon a column in the
first (that is refreshed before calling the second).  Instead, in the first
table loop, move all columns to DO fields and use those fields in the
qualifications.  Similarly, in the second loop, make no references to the
columns of the first.  Again, have the first move all columns to DO fields
and then have the second reference these fields.

So, in general
  refresh table 1
  call table loop 1
     Loop1:  move all columns to DO fields
                 refresh table 2 (using the DO fields in the
qualifications)
                 call table loop2
                    Loop2:   make no references to table 1's columns using
DO fields instead.

At least, when loop 2 completes (normally: do NOT exit!) it will go to the
next row in table 1.

So yes, it is possible...

Cheers
Ben

 ------------------------------
*From:* Action Request System discussion list(ARSList) [mailto:
[EMAIL PROTECTED] *On Behalf Of *Chris Cook
*Sent:* February 20, 2007 7:13 PM
*To:* arslist@ARSLIST.ORG
*Subject:* Re: Walking Table Fields


Hi Frank -

I run nested AL Guide loops on a 6.0 server to build a file of command
line arguments.

*Set Field 1 to $NULL$*
<being loop table 1>
*Append 'table 1' value to 'Field 1'*

        <begin loop table 2>
        *Append 'table 2' value to 'Field 1'*
        </end loop table 2>

*Append carriage return to 'Field 1'*
<end loop table 1>

Walks both tables as expected.

Christopher Cook
Applications Analyst
Payment Systems

625 Fourth Ave. S., Minneapolis, MN 55415-1665
Direct: 612-340-4342
Toll-free: 800-847-4836, ext. 34342
Email: [EMAIL PROTECTED] <[EMAIL PROTECTED]>



This message contains confidential information intended only for the above
addressees and may contain information that is proprietary or legally
privileged. If you received this message in error, please notify us and
delete the original message. You must obtain permission from Thrivent
Financial to use its logo on all materials. Failure to do so could result in
legal action.


  *Frank Caruso <[EMAIL PROTECTED]>*
Sent by: "Action Request System discussion list(ARSList)" <
arslist@ARSLIST.ORG>

02/20/2007 12:13 PM   Please respond to
arslist@ARSLIST.ORG

   To
arslist@ARSLIST.ORG  cc

 Subject
Walking Table Fields






** We are using server 6.03 with user tool 6 on AIX/Oracle

Scenario:
Button on a form runs an active link which calls a guide that Loops a
table
The first guide has one active link which calls another guide that Loops a
table.

Problem:
The second active link successfully walks the second table but the first
table never moves beyond the first row.

Is what I am trying to do possible?





__20060125_______________________This posting was submitted with HTML in
it___
__20060125_______________________This posting was submitted with HTML in
it___




--
Frank Caruso
Specific Integration, Inc.
Senior Remedy Engineer, ITIL Foundation Certified
www.specificintegration.com
703-376-1249

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

Reply via email to