cancel
Showing results for 
Search instead for 
Did you mean: 

how may times open_form,start_form,write_form is called ?

Former Member
0 Kudos

Hi

i hv a script with 5windows(1main+4sec.).

i want to know how many times should i call the func.modules

"open_form,start_form,write_form ".

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member387317
Active Contributor
0 Kudos

Hi ravi vitili ,

OPEN_FORM once only

WRITE_FORM pass main window and its text element

WRITE_FORM pass secondarywindow1 and its text element

WRITE_FORM pass secondarywindow2 and its text element

WRITE_FORM pass secondarywindow3 and its text element

WRITE_FORM pass secondarywindow4 and its text element

CLOSE_FORM once only

Note:

calling START_FORM is not needed here...

Hope it will solve your problem

Thanks & Regards

ilesh 24x7

Former Member
0 Kudos

hi

yeah its solves the issue.

now if v have 3 text elements in each window i.e. 1main window with 3text elements each and 3 sec.windows with 3 text elements in each window.

so hw many times should i call write_form?

former_member387317
Active Contributor
0 Kudos

Hi ravi vitili,

There can be more than one text element in Main Widow.

But in secondary window only 1 text element can be Added.

So u need to call main window three times... with three diff textelements..

Hope it will solve your problem...

Thanks & Regards

ilesh 24x7

Former Member
0 Kudos

Hi Ilesh,

When exactly is START_FORM Needed ?

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

call function 'OPEN_FORM' for 1 time

call function 'START_FROM' for 1 time

call function 'WRITE_FORM' for 1 time is enough and if

required u can call it again

call function 'END_FROM' for 1 time

call function 'CLOSE_FORM' for 1 time

regards

pritam.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Well, it would depend. How many pages to do you have? If one page, then you can call OPEN_FORM once, and START_FORM would not be required. The amount of WRITE_FORMs calls would depend on how many elements you have defined, if your script is not based on elements in your MAIN window, then you would only need to call the WRITE_FORM once.

Regards,

Rich Heilman

Former Member
0 Kudos

hi

thanks for the reply.

i have only one page and each window has got 1text element.

can u tel me now how many times should i call