Multiple Forms in one Spool
I have one program that generates a Smartforms and then it submit another program that prints another forms. Both programs use OPEN FORM to create it and those programs are called via SUBMIT command. The problem is that I tried to use the parameter "NEW SPOOL" to print all documents using one spool request, but it didn't work... Anybody knows another solution to this problem?
Ariel,
Try the following approach (always works)
<b>OPEN_FORM</b>
..<b>START_FORM "First Form</b>
...<b>WRITE_FORM</b>
..<b>ENDFORM</b>
..<b>START_FORM "Second Form</b>
...<b>WRITE_FORM</b>
...<b>WRITE_FORM</b>
..<b>ENDFORM</b>
<b>CLOSE_FORM</b>
Hope that helps!
Rishi
PS: the option you mentioned <b>ITCPO-TDNEWID = SPACE.</b> only works when all the parameters in ITCPO remains the same for both the spool requests and allong with ITCPO-TDNEWID = SPACE
Similar Messages
-
Multiple forms in one region???
Hello guys,
I have created application with couple of pages, but now I have one critical issue with one page.
In this page I have created multiple forms in one region by customize templated, that is working very much fine, but I unable to insert/update data into the DB table through this page.
My sinceraio is something like that, I have couple of tables, where p_id is common in all of the tables, now this issue page I have created multiple(2) forms in one region where both the forms are built but two separated DB tables in one both of them has one column in common ie p_id, the value of p_id is processed from the previous page.
I am aware of the apex limitation about one table for region and hence I created View from this two different tables and above that created INSTEAD OF trigger for insert and update purpose as through I can't, so.
got the help from this below forum:-
Report & form on Multiple table
But still I am unable to get any sucess.... if somebody can help me out...????
I have created same example on apex workspace... let me know if you need any credentials than...???
Thanks
regards,
KumarHi again,
I'm getting error as :-
ORA-20508: Unable to perform insert operation. -22816 ORA-22816: unsupported feature with RETURNING clause
Error Unable to process row of table RENAL_BIOPSY_SYMPTOMS.
OK
I have created view on 2 tables as :-
CREATE OR REPLACE FORCE VIEW "RENAL_BIOPSY_SYMPTOMS" ("P_ID", "RENAL_BIOPSY_CONDUCTED_YN", "DT_CONDUCTED", "CONFIRMED_BY", "REPORTED_ON_BY", "INSTITUTION", "RESULT_TYPE", "COMMENTS", "HEMATURAI_YN", "HEMATURAI_DT", "MICROHEMATURIA_YN", "MICROHEMATURIA_DT", "PROTEINURIA_YN", "PROTEINURIA_DT", "HYPERTENSION_YN", "HYPERTENSION_DT") AS
SELECT
RB.P_ID,
RB.RENAL_BIOPSY_CONDUCTED_YN,
RB.DT_CONDUCTED,
RB.CONFIRMED_BY,
RB.REPORTED_ON_BY,
RB.INSTITUTION,
RB.RESULT_TYPE,
RB.COMMENTS,
SY.HEMATURAI_YN,
SY.HEMATURAI_DT,
SY.MICROHEMATURIA_YN,
SY.MICROHEMATURIA_DT,
SY.PROTEINURIA_YN,
SY.PROTEINURIA_DT,
SY.HYPERTENSION_YN,
SY.HYPERTENSION_DT
FROM
RENAL_BIOPSY RB
INNER JOIN
SYMPTOMS SY
ON
RB.P_ID=SY.P_ID
and created INSTEAD OF trigger on the above view as:-
CREATE OR REPLACE TRIGGER "RENAL_BIOPSY_SYMPTOMS_TRIGGER"
INSTEAD OF INSERT ON "RENAL_BIOPSY_SYMPTOMS"
FOR EACH ROW
BEGIN
DECLARE
PAT_ID NUMBER;
BEGIN
INSERT INTO RENAL_BIOPSY (RENAL_BIOPSY_CONDUCTED_YN, DT_CONDUCTED, CONFIRMED_BY, REPORTED_ON_BY, INSTITUTION, RESULT_TYPE, COMMENTS)
VALUES (:NEW.RENAL_BIOPSY_CONDUCTED_YN, :NEW.DT_CONDUCTED, :NEW.CONFIRMED_BY, :NEW.REPORTED_ON_BY, :NEW.INSTITUTION, :NEW.RESULT_TYPE, :NEW.COMMENTS)
RETURNING P_ID INTO PAT_ID;
INSERT INTO SYMPTOMS (P_ID, HEMATURAI_YN, HEMATURAI_DT, MICROHEMATURIA_YN, MICROHEMATURIA_DT, PROTEINURIA_YN, PROTEINURIA_DT, HYPERTENSION_YN, HYPERTENSION_DT)
VALUES (PAT_ID, :NEW.HEMATURAI_YN, :NEW.HEMATURAI_DT, :NEW.MICROHEMATURIA_YN, :NEW.MICROHEMATURIA_DT, :NEW.PROTEINURIA_YN, :NEW.PROTEINURIA_DT, :NEW.HYPERTENSION_YN, :NEW.HYPERTENSION_DT);
END;
END;
ALTER TRIGGER "RENAL_BIOPSY_SYMPTOMS_TRIGGER" ENABLE
My apex workspace is :-
ws :- newapex
us :- [email protected]
ps :- kg
and application as "BeforeDemo_Application" with page as 6(the ISSUE page).
Any help guys..... appreciated..!!!!
Regards,
Kumar -
Multiple form inside one jsp file
I have to use nested jsp forms in my latest project
ex:-
<html>
<head>
</head>
<body>
<form id="form1" name="form1" method="post" action="ex.htm">
<form id="form2" name="form2" method="post" action="ex2.htm">
</form>
<form id="form3" name="form3" method="post" action="ex3.htm">
</form>
</form>
</body>
</html>
Can some one tell me, is there a way to submit the each forms seperatly?
-----------------------------------------------------------------More on problem-----------------------------------------------------------------
I am developing e-savings application.
When the customer enter the accountno i need to display details - for this i use "form1"
When the customer enter the withdrawal amount i need to display the balance - for this i use "form2"
Finally i use "form3" to submit the data.
I have done all the things inside one jsp page.
I think you are now clear in my problem and hope best solution....
Thank you........According to the HTML specification, you may not nest forms.
You can use multiple forms as long as you don´t nest them. -
Hi,
I am trying to create multiple forms based on different tables on ONE page. But some how I get errors in the Automatic process (fetch,insert, and update) which gets created when you create a form.
The tables i am using have some common colomn_name but i when creating form i am not including those columns.
For eg. all my table have create_by,update_by column but i am not add these columns in the form as they are updated by the DB trigger.
VikasVikas,
create one form using wizard and the others manually.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Printouts for multiple forms in one click
Hello Experts,
I have one print program for Adobe form. Here If I enter 10 pernrs in the selection screen.. I will get 10 adobe forms in the output. By clicking right/left arrow in the application tool bar (which appears if there are more than one form generated), I can see all forms and I can print each form.
Now the problem is, I got the requirement where I can click on one push button or icon on the output screen and It should print(sending to Printer) all 10 forms in one attempt.
Please let me know if you need any further information on this.
Note that its not about output display.. It should be remain same. The solution required only for the Paper printouts in one click.
Thanks,
Naveen Inuganti.Same question asked here: Printing all Adobe form in one attempt
Two things I can add here:
- if you want to achieve a better performance, set up the caching, the forms will then not be reloaded during each printing, the cached version will be used instead. Be careful, that may mean the form will behave a little crazy during the development (that is why I always turn off the caching on the development system)
- if you want to be precise as possible loop at the source table outside the printing block, get the data and next inside the printing block (JOB_OPEN and JOB_CLOSE) loop at the data again and ask for the prints. Since everything is inside one block, it will be exchanged with the webservice (ADS) in one call
Hope that helps, Otto -
Multiple Forms w/ One Submit Button
Hello,
I'm trying to create something for a little league team. I
have a MySQL database with 2 columns, i.e. Name/Age.
I currently have 9 forms on one page, with one submit button.
Name - (Text Field)
Age - (Text Field)
Name - (Text Field)
Age - (Text Field)
etc.
I only want one submit button to submit all the forms into
the name/age columns of my database instead of having to include a
different button next to each form. But, so far, when I try,
instead of inserting all 9 forms with the one submit button, only
the first form gets inserted into the name/age columns of my
database. I'd greatly appreciate any help. I have no idea what to
do.quote:
Originally posted by:
bregent
That will never work. Use 1 form and then either write a
script
Thanks for the help bregent. You mean like a PHP script or
something?
quote:
Originally posted by:
bregent
use a stored procedure to loop through the fields and insert
them into the db.
I know wayyyy to little about web design to understand what
that means.
Thanks,
Jennifer -
Submiting multiple forms with one button
I have a form that has a cfform within it. The cfform has a
cfloop in it that includes an id and a dropdown list box that
includes a new id. I want to transfer one id to another. I want the
user to be able to click on one button that would update all the
rows in the table with the new id.
If there are 3 rows in the query, the user would select an
entry in a dropdown for each row and upon clicking on the submit
button all three rows would be updated with the id selected from
the dropdown.
Any suggestions?
Thanks for the help!
GaryThere isn't a way to set this up using the Paypal payment integrated into FormsCentral using seperate forms for each child, you can set up one form so they can register additional children and then pay in one session, but if you need each child to be a unique form submission it can not be set up to pay for multiple at once.
Thanks,
Josh -
Submitting multiple forms with one Submit button?
I'm working to create a web app for the iphone and am using
an apple developed css within an html page. In doing so I have
created three forms within the single page and would like to submit
them simultaneously with one submit. I've looked and tried a few
javascripts but nothing has worked thus far. All three forms call
the same action (php).
Is this possible using js or another function?.oO(iRyFlash)
>I'm working to create a web app for the iphone and am
using an apple developed
>css within an html page. In doing so I have created three
forms within the
>single page and would like to submit them simultaneously
with one submit. I've
>looked and tried a few javascripts but nothing has worked
thus far. All three
>forms call the same action (php).
>
> Is this possible using js or another function?
Make it a single form.
Micha -
Printing multiple forms for one output types.
Hi,
I need to print the form 4 times for one specific output type. My internal table contains only one record, but for that one record also i need to print 4 forms. How can i do this, i tried using control parameters but in vain.
Any suggestions of how to achieve this,
Thanks & Regards,
Ramana.Hi,
I am working with only one smart form. But there are different output types(ZVSL, ZVFX, ZVFE & ZVFI) configured for that form. But for one specific output type (ZVSL), i need to repeat the print for 4 times.
Thanks & Regards,
Ramana -
Multiple smartform in one spool req
Hello all,
i am calling same smartform multiple time (twice) from a program. i want to see the output in print priew as first page as first smartform data and second page as second smartforms data. will you please guid me how can i do this. please provide me step by step process.
The two smartforms are getting called when i checked two checkboxes.
thank you for your answers.
Sidds.Solved the problem
-
Combining multiple smartform output in one spool request
Hi,
I'm calling 5 different smart forms from driver program based on some conditions and trying to merge the output of each of these smart forms in a single spool request. I achieved this by setting control parameters no_open and no_close based on first or last print.
The problem i'm facing now is when i call one particular smart form ZSMARTFORM6 along with other smartforms i'm getting a error FORM SMARTFORM6 has wrong Page format.
If i call only this smart form it is working correctly.
Any idea how to avoid this error message.
Regards,
RaghavendraHi
In The control Parameters u have an Option NO_OPEN and NO CLOSE u have to use this to combine multiple SSF to one Spool
DATA SSFCTRLOP LIKE SSFCTRLOP.
CALL FUNCTION 'SSF_OPEN'
SSFCTRLOP-NO_OPEN = 'X'.
SSFCTRLOP-NO_CLOSE = 'X'.
CALL FUNCTION SMART1
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART2
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART3
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION SMART4
EXPORTING
CONTROL_PARAMETERS = SSFCTRLOP
CALL FUNCTION 'SSF_CLOSE'
Surya
Edited by: suryareddy on Aug 27, 2009 9:24 AM -
Multiple Forms in a Flash Document and Posting Using ASP
Hello everyone!
I have some what of a dilemma on my hands. I am creating
multiple forms in one document using Flash and need them to post
using ASP script. I have been researching this for the last six
days, and I have had NO luck. I have noticed that all the
information that I have found is for one form, not more than one.
What I have so far is the Flash document, with 4 forms. The
basic idea is that a user chooses from a drop down menu (the
combobox) a location, and depending on the location chosen, it
takes the user to another frame in the flash document. The forms
(all their own movie clip) contains a name field, a department
field, and either a manager name a userID field or an employee
number as well as the basic buttons for submitting the form or
resetting the form.
So far what I have working is the drop down menu (combobox)
taking me to the proper frame and it shows the appropriate form.
The reset button clearing the form (deleting any information that I
have imputed into the input fields), but I have absolutely NO idea
how to get the submit button to work (I did manage to get it to
send me a message if there was nothing in one of the input fields),
and NO idea how to get the information to the ASP file.
Where there are 4 forms do each of them have to have their
own ASP file attached to them, or can I use one?
If anyone knows a site that deals with multiple forms in one
SWF and posts using ASP that would be greatly appreciated, or if
you know some actionscript that could be helpful.
Thank you all in advance.That would be part of my problem, I really don't know ASP,
and I am flying by the seat of my pants.
The current script I have for the ASP file is:
<% @Language = "VBScript" %>
<%
Option explicit
Dim strfullName
Dim strdeptName
Dim strmanagerName
Dim strobjeemail
Dim strlocation
strfullName.Request.Form("fullName_txt")
strdeptName.Request.Form("deptName_txt")
strmanagerName.Request.Form("managerName_txt")
strlocation.Request.Form("locationName")
Set strobjemail = CreateObject("CDO.Message")
strobjemail.From = "[email protected]"
strobjemail.To = "[email protected]"
strobjemail.Subject = "Program from " + strlocation
strobjemail.Body = "This user has completed this progrmam
from " + strlocation & Chr(13) & Chr(10) & "Name: " +
strfullName & Chr(13) & Chr(10) & "Department: " +
strdeptName & Chr(13) & Chr(10) & + "Manager: " +
strmanagerName
strobjemail.Send
Set strobjemail=nothing
%>
The AS code that I have so far is:
function formValidationChecks(){
if (fullName_txt.length==0){
status_txt.text = "Please enter your Name";
else if (deptName_txt.length==0){
status_txt.text = "Please enter your Department";
else if (managerName_txt.length==0){
status_txt.text = "Please enter your Manager";
else {
status_txt.text = "Thank You!";
variables.fullName_txt = fullName_txt.text;
variables.deptName_txt = deptName_txt.text;
variables.managerName_txt = managerName_txt.text;
varLoader.load(varSend);
trace("-----");
trace("Name: "+fullName_txt.text);
trace("Department: "+deptName_txt.text);
trace("Manager: "+managerName_txt.text);
trace("Form validated");
submit_btn.onRelease = function(){
status_txt.text = "";
if(formValidationChecks()){
var lv = new LoadVars();
lv.fullName_txt = form.fullName_txt.text;
lv.deptName_txt = form.deptName_txt.text;
lv.managerName_txt = form.managerName_txt.text;
lv.sendAndLoad("mail.asp", lv, "POST");
reset_btn.onRelease = function()
fullName_txt.text = "";
deptName_txt.text = "";
managerName_txt.text = "";
So far my reset button clears everything, and the submit
button is tracing the content in the form fields, but it's not even
grabbing the asp page.
Any suggestions? Even pages that have tutorials that are in
the form of a video.
Thanks -
Unable to open/minimize multiple forms
Hi All,
I'm using the R11 vision instance & at any point of time, I can open only one form in an responsibility. If i minimize the existing opened forms & try to open a new one, the minimized one closes, is there any setting to prevent this?
I want to open multiple forms or keep them minimized so that I can switch over them easily.
Regards,
HemanthHi Hemant,
I'm using the R11 vision instance & at any point of time, I can open only one form in an responsibility. If i minimize the existing opened forms & try to open a new one, the minimized one closes, is there any setting to prevent this?
As far as I know you can not open multiple forms in one login that is the standard feature.
I want to open multiple forms or keep them minimized so that I can switch over them easily.
You can login on multiple windows with your same username and password for this.
Thanks,
Anchorage -
Many forms issues in one spool
Hello,
Can we have many forms issues(smartforms) in one spool?
I need to send one print stream / PCL format not multiple spools.
Best Regards,Hello everybody,
Thanks for your replies.
I found another way to resolve this situation.
For many invoices who are saved in nast. We initialize no_dialog to space.
After in the loop at the invoices : for the first one no_close to 'X' and the last one with no_close parameter to space.
After the call FM(Smartform) we pass 'X' to no_open .
I hope that answered for all.
ls_control_param-no_dialog = space.
LOOP AT t_nast INTO nast.
AT FIRST.
ls_control_param-no_close = 'X'.
ENDAT.
AT LAST.
Close spool file
ls_control_param-no_close = space.
ENDAT.
PERFORM processing.
ENDLOOP.
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
output_options = ls_output_options
user_settings = space
v_exemple = v_exemple
s_nast = s_nast
IMPORTING
job_output_info = ls_ssfcrescl
TABLES:
t_komv = t_komv
t_ekpo = t_ekpo
t_ekkn = t_ekkn
EXCEPTIONS formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5 .
ls_control_param-no_open = 'X'.
Best Regards
Thanks -
Adding data to multiple tables using one form in Access 2010?
Hi All,
I have a access database with two tables and I want to create a single form to enter data into that tables.
How to adding data to multiple tables using one form in Access 2010?
I don't have to much knowledge of access database?
Please help me
Thanks
BalajiYou really don't enter identical data into 2 tables. You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables).
Maybe you need to read this.
http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
Think about it this way... What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change. WHOOPS!! Now, you've got a BIG problem. For instance, you have a customer
named Bill Gates. In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039. Now you have 2 addresses for Bill. Why would
you want that??? Which is right? No one knows. If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
and which is wong...and then update the one that is wrong.
Post back with specific questions.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
Maybe you are looking for
-
IPod 80gb error (-48) problem.
Hi, my sons iPod has developed a problem. It is being recognised by the computer as a drive, but not in ITunes, as the error -48 message keeps stopping the restore which we are trying to do. We have downoaded the latest software, have the latest wind
-
When I use a custom error file xxx-errors.txt.How do I get the general error handler to choose the codes from this specific file? I am not clear on what tells the vi to use this file. Thanks Jim
-
The first DVD menu doesn't support "clicking" with the cursor
I just created a disc image of my iDVD project and I have found that when I run it using the DVD Player, I can't navigate the first DVD menu with the cursor. The only way I can move through it is by using the arrow keys and then pressing "return" or
-
dear all while i know the complete clearing entries are stored in BSAD in case of customer invoices with incoming payments. kindly let me know the table names where the partial and residual entries are stored. regards eashwar
-
ORABPE-31015: Cannot get Object part 'Responses'. No parts are set message
Hi All, I facing an issue while sending a email notification. [default/NotificationsBPMProject!1.0*soa_d31bba5a-2fb8-406a-aba3-f338ad25ff87.BPM-NotificationService]:sendEmailNotification Performing outbound request/response interaction.. [2012-07-11T