How to save a FORM as DATABASE
Hello everyone
I am using forms 9i with Database 9i and 9iAS . I want to save a form as database . In previous version we had the option so save as file or database . We were able to set it under tools- preferences . But in forms 9i I don't find it anywhere we can set save as Database.
Can anyone help me.
Thanks
I think you will need to use a layer in between. For instance with LC, you can make a process that takes in your data and stores it in your database. Your form can submit to that process through SOAP and REST.
Similar Messages
-
How to save pdf file in database
Dear All,
my application is forms 6i and database is 8i,requirement is that how to save pdf file in database and users can view through formsI'll apologize up front for the length of this post. I have a few database procedures I created that write a file to a BLOB column in a table as well as retrieve the BLOB from the column after it stored there. I have successfully stored many different types of binary file to the database using these procedures - including PDF files. I have not used these procedures in a Form so I can confirm that they will work, but theoretically they should work. I'm including the code for each procedure in this posting - hence the apology for the long post! :-)
Also, since these procedures reside on the database you will need to use Forms TEXT_IO built-in package to write your file to the server before you can use these procedures to store and retrieve the file from the database.
These procedures reads and writes a binary file to a table called "LOB_TABLE." You will need to modify the procedure to write to your table.
-- Author : Craig J. Butts (CJB)
-- Name : load_file_to_blob.sql
-- : This procedure uses an Oracle Directory called "IN_FILE_LOC". If you
-- already have a directory defined in the database or would prefer to use
-- a different Directory name, make sure you modify line 21 to reflect the
-- new Directory name.
-- ==================================================================================
-- History
-- DATE WHO DESCRIPTION
-- 12/11/07 CJB Created.
CREATE OR REPLACE PROCEDURE load_file_to_blob (p_filename IN VARCHAR2) IS
out_blob BLOB;
in_file BFILE;
blob_length INTEGER;
vErrMsg VARCHAR2(2000);
BEGIN
-- set the in_file
in_file := BFILENAME('IN_FILE_LOC',p_filename);
-- Get the size of the file
dbms_lob.fileopen(in_file, dbms_lob.file_readonly);
blob_length := dbms_lob.getlength(in_file);
dbms_lob.fileclose(in_file);
-- Insert a new Record into the tabel containing the
-- filename specified in P_FILENAME and a LOB_LOCATOR.
-- Return the LOB_LOCATOR and assign it to out_blob.
INSERT INTO lob_table (filename, blobdata)
VALUES (p_filename, EMPTY_BLOB())
RETURNING blobdata INTO out_blob;
-- Load the file into the database as a blob.
dbms_lob.open(in_file, dbms_lob.lob_readonly);
dbms_lob.open(out_blob, dbms_lob.lob_readwrite);
dbms_lob.loadfromfile(out_blob, in_file, blob_length);
-- Close handles to blob and file
dbms_lob.close(out_blob);
dbms_lob.close(in_file);
commit;
-- Confirm insert by querying the database
-- for Lob Length information and output results
blob_length := 0;
BEGIN
SELECT dbms_lob.getlength(blobdata) into blob_length
FROM lob_table
WHERE filename = p_filename;
EXCEPTION WHEN OTHERS THEN
vErrMsg := 'No data Found';
END;
vErrMsg := 'Successfully inserted BLOB '''||p_filename||''' of size '||blob_length||' bytes.';
dbms_output.put_line(vErrMsg);
END;
-- Author : Craig J. Butts (CJB)
-- Name : write_blob_to_file.sql
-- Descrip : This procedure takes a BLOB object from a database table and writes it
-- to the file system
-- ==================================================================================
-- History
-- DATE WHO DESCRIPTION
-- 12/11/07 CJB Created.
CREATE OR REPLACE PROCEDURE write_blob_to_file ( p_filename IN VARCHAR2 ) IS
v_blob BLOB;
blob_length INTEGER;
out_file UTL_FILE.FILE_TYPE;
v_buffer RAW(32767);
chunk_size BINARY_INTEGER := 32767;
blob_position INTEGER := 1;
vErrMsg VARCHAR2(2000);
BEGIN
-- Retrieve the BLOB for reading
BEGIN
SELECT blobdata
INTO v_blob
FROM lob_table
WHERE filename = p_filename;
EXCEPTION WHEN OTHERS THEN
vErrMsg := 'No data found';
END;
-- Retrieve the SIZE of the BLOB
blob_length := DBMS_LOB.GETLENGTH(v_blob);
-- Open a handle to the location where you are going to write the blob
-- Note: The 'WB' parameter means "Write in Byte Mode" and is only
-- available in the UTL_FILE pkg with Oracle 10g or later.
-- USE 'W' instead for pre Oracle 10q databases.
out_file := UTL_FILE.FOPEN('OUT_FILE_LOC',p_filename, 'wb', chunk_size);
-- Write the BLOB to the file in chunks
WHILE blob_position <= blob_length LOOP
IF ( ( blob_position + chunk_size - 1 ) > blob_length ) THEN
chunk_size := blob_length - blob_position + 1;
END IF;
dbms_lob.read(v_blob, chunk_size, blob_position, v_buffer );
UTL_FILE.put_raw ( out_file, v_buffer, TRUE);
blob_position := blob_position + chunk_size;
END LOOP;
END;Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks! -
How to save the form data into adobe db?
Hi All,
How to save the form data into adobe db?
I have designed one xdp file.
Through processFormSubmission(), I got the submitted form data as Document obj.
Then I have called the workflow kickoff program.
code:
InvocationRequest request = myFactory.createInvocationRequest ("myprocessname", //Specify the long-lived process name
"invoke", //Specify the operation name
params, //Specify input values (HashMap obj)
false); //Create an asynchronous request
It successfulyy started the workflow, but the submitted form data is not saved anywhere.
And also, How get the form data from tables?
Please provide the solution for the above.
Thanks in advance.
Regards,
Saravanan GYou need to create a process variable of type IN if you want to be able to pass data to your process. Then the params parameter (HashMap) contains a list of all the IN variables with their content that you want to pass to your process. They key is the name of the variable and the value the content. That way you should get it in your process.
Now LiveCycle will create a column in the database for every process variable, so the content will be saved in the database just by creating that process variable.
Jasmin -
How to save Pdf form localy without internet
How to save Pdf form localy without internet?
I thought in the beginning about advanced user rights and pure saving them on adobe reader but i saw legal notes about 500 user who can legaly save it localy and answer to me (bu they can`t answer to my client who paid me for doing this form).
Other thing is to do Air Application which would collect data from Pdf Form and save it (localy without internet) to use it later.
I thought about that second possibility but i can`t find any clue to do it myself.
Any help will be appreciated...Hi,
Are you downloading responses as PDF forms after forms are submitted? If so, FormsCentral doesn't provide an option to exclude empty fields and you won't be able to save PDF forms without empty fields.
You can use this form to "vote" on popular feature requests, or to add a new one of your own:
https://adobeformscentral.com/?f=XnF-KJVCovcEVQz9tZHYPQ
Thanks,
Wenlan -
How to save infopath form in XML file
How to save InfoPath form in XML file.
I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databasesHi,
Based on your description, my understanding is that you want to save InfoPath form in XML file.
I have done a test in my SharePoint, Do the following steps:
Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
How to save PDF form without empty fields ?
Hello,
I try to find how to save PDF forms after a school registration but without empty fields because i have lots of relation in my Form but i haven't.
Is it possible and how ?
ThanksHi,
Are you downloading responses as PDF forms after forms are submitted? If so, FormsCentral doesn't provide an option to exclude empty fields and you won't be able to save PDF forms without empty fields.
You can use this form to "vote" on popular feature requests, or to add a new one of your own:
https://adobeformscentral.com/?f=XnF-KJVCovcEVQz9tZHYPQ
Thanks,
Wenlan -
How to save photo in oracle10gee database using developer10g
I have oracle10g enterprise edition database and developer10g front end.
i have a table in my database
desc employee_personnel
emp_id varchar2(10)
emp_name varchar2(80)
emp_pic blob
I create form using forms10g and now i want to browse that photo using forms10g and want to save it in oracle10gee database.
and when i will query it next time it will the photo
how can i do it
plz help me in detailsee here
http://halimdba.blogspot.com/2011/01/how-to-insert-multimedia-data-image.html
regards
Halim -
This quick tip looks at the differences between a basic PDF form and a Reader-enabled PDF form and how to save either PDF form using Acrobat Reader X.
http://adobe.ly/GJzFxVYou have not explained how to change the document into an "_distributed.pdf that has the ability to be saved. That was the least helpful video that I have ever seen
-
How to save a Form as a read-only pdf?
I created a form in Acrobat X. I need to be able to send this form to some of our team members so they can fill out and save it as a read only file that can then be sent to customers. How can I do this?
Reader 10/11 has a means to flatten a form as part of the EchoSign e-signing tools. They could fill-in the form and select: Sign > I need to sign > Signed. Proceed to Send > Save a Copy
You'll just need to instruct your team members how to do this. It is more secure (for lack of a better term) since it removes the form fields but leaves their appearances, making it more difficult for someone to change. Most people wouldn't know how to change the values of read-only fields, but it's quite easy for someone who does.
This option won't be available if the document is Reader-enabled, but if your team members are using Reader 11 they will be able to save a form without it being Reader-enabled. -
How to save a form in a different file name?
Hello All,
I have a form which has 7 pages. I have 3 buttons which are for submitting PDF,XML and print button. I do not want to keep SaveAs button.
What I need : When the user completes all the required fields and clicks on SubmitAsPDF or SubmitAsXML then it will prompt the user to save the form in a different file name. After the user has saved the form in a different file name then it should submit the form to the required mail ID. How to best accomplish it ?
Thanks.
Bibhu.Hello Niall,
Thanks for the help. I used a hidden field whose name is "CurrentFileName" then in the docReady event of this hidden field I used the following script.
this.rawValue = event.target.documentFileName;
Then in the mouseUp event of the submit button I used the follwing script.
if(form1.Page1.CurrentFileName.rawValue == event.target.documentFileName)
app.alert("Please save this form in a different file name before submitting !");
app.execMenuItem("SaveAs");
But problem is : As the file is saved in a different name the script fires again and again if we click the submit button prompting the user to save the form in a different file name , but the user has already saved it in different file name .How to get rid of it ?
Thanks.
Bibhu. -
Help:plzz tell me how to save template form without losing any attached lib
Hell forum!
plzz try to help me on how to save the template form to my desktop without losing any attached lib's to customize that formHi,
Copy all the library files from $AU_TOP/Resources and template.fmb and appstand.fmb from $AU_TOP/forms/US to same local directory.
Set FORM60_PATH in the REGEDIT as C:\orant\TOOLS\OPEN60\PLSQLLIB;D:\Local Directory. Local Directory means where you copied lib files and template form.
Open template in form6i and rename the template form. Do the customizations what ever you want.
Regards,
Venkanna. -
How to save PDF form to a KM Folder in Portal
Folks,
I have a requirement to save ADOBE Form to KM folder in portal and again access that form for changes.
Thanks,
ManishHi Manish
just a bit of rather high-level input: What you want is possible from a technology point of view, i.e. NetWeaver provides you with all the tools you need, but essentially you need to build an application that does all the things you want from scratch.
Interactive Forms has no standard persistence mechanism for the generated PDF forms, as the way such PDFs are handled differ from app to app, from customer to customer, and NW isn't able to accommodate all wishes. Some of the SAP applications provide mechanisms sich as storing files in KM or Records Mgmt, but this is limited.
You will need an application that
- generates the PDF
- assigns the PDF to a KM folder (after editing?)
- allows the retrieval of the PDF from KM and editing
- presumably, at some point send the data entered in the PDF back to the database (before archiving the PDF permanently?)
So the forms aspect is only one of the important ones, developing on top of KM the other.
Best regards,
Markus Meisl
SAP NetWeaver Product Management -
How to save an image to database and retreive from it.
how to save an image retreived from an bytearray to database and retreive back the image from database....pls specify the steps and the query.
You can use the JDBC API for database connectivity and you can use SQL to query the database.
JDBC tutorial: http://www.google.com/search?q=jdbc+tutorial+site:sun.com
SQL tutorial: http://www.google.com/search?q=sql+tutorial+site:w3schools.com -
How to save the Icon to database or .ico file?
hi
I get Icon instance by using
Icon myIcon= FileSystemView.getFileSystemView().getSystemIcon(new File("J:/Program Files/XPSTool/XPSTool.exe"))
but I not know how to save the myIcon to the database or a .ico file ;
please help me !!!!!!!
thanks vey much .Doublepost: http://forum.java.sun.com/thread.jspa?threadID=790795
-
How to save PDF form results online
I have a form that is a job application. I currently have a form made in html that sends the results to an email. The email would contain an array of results. The results are ugly because there are so many different variables. Putting the results into a PDF form would be a lot better. Here are two different options that I have worked up:
Option 1
I would like the PDF to be viewed by the user filling out the application and be able to be sent to the company's email directly as a pdf. I do not want the results in XML format or FDF format. The company does not have Acrobat Pro to load the results. Unless there is a way to do it without Acrobat Pro I would like to stay away from that. We are using a PHP5 system.
Option 2
I would like the user to fill out a form (non pdf) and my server to process the array and plug in the results into a PDF form that will send to the company's email as an attachment. The form needs to be in PDF format not FDF or XML.
I have the programming knowledge to send the email. I simply do not know how to get the form in a PDF format after the forms are filled out.
Thanks for your help!
--Justin MasseyYour first option leads for license issues if you have many applicants to deal with. The second option is reasonable, but you would submit the form data (FDF or XML) to a web server that would process the data. The data can then be used to repopulate the form to send to the administrators. I am not sure about the license restrictions on the latter, but I think it is within bounds. The issue with the second approach is the development of the system to do the process.
Maybe you are looking for
-
Hi guys, in my first column of alv list display output i want to display a combination of 2 icons side by side. remember i want to club two icons and dispaly in the first column fast guysss
-
Hey so I just bought a Samsung Galaxy 5 because the right half of my iPone 5 is no longer touch sensitive. I downloaded the Smart Switch on my galaxy and am trying to get the stuff backed up on iCloud synced to my galaxy. Whenever i try to log in it
-
My iphone could not be restored. it shows that an unknown error has occured (1015). How to restore my iphone from a recovery mode?
-
I cannot remove my master password - the remove button is gray
I enabled the Firefox master password but FF kept asking for it every 20 seconds while I was using gmail, so I wanted to disable and remove the master password. When I uncheck the master password box, a popup screen asks for the master password but e
-
HT1296 Help I need to Sync but don't see how.
Got a new Laptop and haven't used my iTunes in about 1 1/2 years. Don't see the "Sync". Downloaded the latest version, but if memory serves me best I'm suppose to restart, butit never asked nor do I see "Sync". Help