Application Development 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: 

What is use of protect ...endprotect command in script and smartform

ram_sahoo
Participant
0 Kudos

Hi Experts,

I have a confuse to about of protect..end protect command in script and smart forms.Generally we know this command is using in script  and smart forms for page protection means if we want show 10 line in first page but there no enough space then using this command we can see complete 10 lines in next page.But today i tried with smart form i created a smart form with two page and in first page main window size i took 2 line capable and in second page window size i took 10 line capable and in first page i wrote 10 line paragraph and used page protection check box but while i executed i saw its generated 5 page and each page divided by 2 line. Can anyone clear my this doubt.

Thanks.

3 REPLIES 3

Former Member
0 Kudos

hi ram sahoo,

since window size is 2 line capable only it is displaying each page 2 line only.

if window size is 10 lines and there are two texts say text1 having 8 lines and text 2 having 8 lines.

output will be for page1 as  8 lines and text2 will be 8 lines in page2 provided that text2 has page protection has check marked.

hope you understood.

0 Kudos

Hi Abdul,

I understood but my duobt is my first window size is 2 line but second window size is 10 line when i used protect check box for page1 output i saw five page and each page 2 line even in second page also 2 lines but there space for 10 line.Please help me.

Thanks,

0 Kudos

can you share your source through screen shots so that I understand how you did?