‎2007 May 07 7:25 AM
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......
‎2007 May 07 7:53 AM
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.
‎2007 May 07 7:28 AM
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
‎2007 May 07 7:53 AM
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.