Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smart form - loop inside a loop

Former Member
0 Likes
567

Dear Techies,

I am new to smartforms. I have a query, in one of the code examples there is a context menu on the main window called "complex selection", but i dont find the same in my editor, what is the reason.

I want this because i have data in two internal tables. Different tables are generated from secondary depending on the entries in first table. how do i achieve this on the main window.

Similar to loop inside a loop, depending on my first table entries, all the entries belonging to that entry are to be put in table of second entry. i will have tables equal to the entries in first internal table. hope my question is clear.

Please help.

Regards

imran.

2 REPLIES 2
Read only

Former Member
0 Likes
529

First you create a TABLE in the smartform and click on the Main area in the TABLE. Right click and select LOOP.

This way you can achieve LOOP inside a LOOP.

Read only

0 Likes
529

Hye..

Loop in main area will fill only the current table, but i want several tables depending on entries in the first internal table. The number of tables in the main window will be the number records in the first table.

Regards

imran.