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

need help

Former Member
0 Likes
448

Hi All,

I have 12 to 13 form need to be created but every form has the same format only header is diffrent. Now I have to develop a report to calll all that form. Based on that whenever I will call a any particular form it should get fetch with their respective header. How I will do that.

Thanks & regards......

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
413

Hai,

Use the START_FORM and END_FORM like below:

START_FORM.

OPEN_FORM.

*" Pass Form1

WRITE_FORM.

CLOSE_FORM.

OPEN_FORM.

*" Pass Form2

WRITE_FORM.

CLOSE_FORM.

.

.

.

upto no.of forms

END_FORM

Hope this heps you.

Regds,

Chary.

2 REPLIES 2
Read only

Former Member
0 Likes
413

Hi,

Depending on the criteria of which Form is to be called write a Case statement.

Case r_form.

when '1'.

select * from ZTABLE1 into i_header.

  • CALL THE FORM & pass the necessary data

WHEN '2'.

SELECT * FROM ZTABLE2 into i_header.

  • CAll The form & pass the necessary data

....

ENDCASE.

Best regards,

Prashant

Read only

Former Member
0 Likes
414

Hai,

Use the START_FORM and END_FORM like below:

START_FORM.

OPEN_FORM.

*" Pass Form1

WRITE_FORM.

CLOSE_FORM.

OPEN_FORM.

*" Pass Form2

WRITE_FORM.

CLOSE_FORM.

.

.

.

upto no.of forms

END_FORM

Hope this heps you.

Regds,

Chary.