on 01-15-2007 1:02 PM
hello everybody,
my problem is that i have a main window in which i have 3 fields,,,,,,,
which are printed from the program.....
after printing certain repeated values i want a text to be displayed "some xyz" in that window itself....( idont this text to be repeated it should print only once and that to after everything is printed)...
so how and where can this be done???
waiting for reply's,
thanks,
CAPC
THANKS PROBLEM SOLVED, TOOK A TEXT ELEMENT AND THEN CALLED THAT IN LOOP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
You can do this somany ways based on you r requirement.
1. if you r printing a<b> table</b> data(let us say repted data)and som text only after printing of the repeated data.... then Create table(by right clic>create>table then..In the header give u r heading if required, In Main Area Printe Wht you require. <b>In Footer--></b> insert text element( modify this as Text module or Include text).. here you can give the standard text or text module to print the text you want.
2. right click on the main window -->create >template-> position the tremplate by givin the horizantal and vertical allognment (in general attrilbutes of the templates>"details).. then insert text elements(in output options of text element give rownumber and columnumber)..
<b>For template you can give condiotions in condition TAb..
example if you want the text only before completion of printing the main window--then tick chack box-ONLY BEFORE ENDOF MAIN WINOW</b>.
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
Message was edited by:
Naresh Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create a standard text using SO10. Now, u want that in ur Main Window after the internal table is filled this text needs to be printed. So, write code as at end of the internal table data use this standard text and it will print only once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>IN SMART FORMS</b>
hi CAPC..
once follow the above inofrmation written by me.. i hve done in my smartforms.
if you want insert a standard text.. right clicck >create>text . then new text elemet will be added in your window... but if you want to insert a standard text in the text element...you hav to do like this..
In genaral attributes of the text element--> there is option(TEXT TYPE) to change the text element to Include text. select this.. then enete
Standard text name: "xxx (it is created SO10 by you)
text Object: TEXT
Text ID: ST
Language: xx which language u have created in SO10
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
Message was edited by:
Naresh Reddy
Thanks Naresh,
i Created the standard text, but now my problem is in which command should i put this .......
i have tried bottom...endbottom ......
but by using this it is coming at the bottom of the main window but i want it to be printed as soon as the fileds printing is finished....
so pls suggest me on the command that i have to use for this purpose...
Thanks,
CAPC
CAPC i was speaking about the SMART forms and, u r problem is about SCRIPTS i think.. ok ok.
I don't have much knowledge in SCRIPTS
but i can give u 1 suggest it is... If u r working in scripts..
u may be printing some data in the internal table.. after pring of that u have to print the text.. am i right?... if yes
loop xxxxxxxxx
xxxxx
xxxx
xx
after you script call..
AT LAST.
here call the Standatd text
ENDAT.
endloop.
Naresh can u pls be more specific of where and how i should call the standard text, i mean is it in the se38( this is where the loop is) and if this is so can u pls help me in this aspect..... or i guess we can do it in scripts by using command and in between commands use the standard text but i am unable to find the command's....
if it is in se38 pls help me in this aspect and also how to transport the standard text......
Thanks,
CAPC
Create the text element after everything else in the main window. Smartforms are processed top-down and if there is nothing after the text in the main it will be the last to print.
You can also use a template and it will also move down after the last line that printed in your main if it is the last component in your main window. If there is no more space on the current page a page-break will automatically be triggered and the rest of the text printed on the next page. If you tick the page-protect checkbox then the text will print all on the same page.
Kind Regards,
Marius
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.