Take the backup of the user database using oracle forms 6i
I need backup user database using oracle forms 6i. Is this possible?
Yes.
Try
When press the button trigger
DECLARE un VARCHAR2(30); pw VARCHAR2(30); db VARCHAR2(30); con_str VARCHAR2(100); -- data_file VARCHAR2(100); log_file VARCHAR2(100); cmd_line VARCHAR2(200); ALT NUMBER; BEGIN IF :CONTROL.file_name IS NULL THEN --- take a file location IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN RAISE FORM_TRIGGER_FAILURE; END IF; END IF; -- un := GET_APPLICATION_PROPERTY(USERNAME); pw := GET_APPLICATION_PROPERTY(PASSWORD); db := GET_APPLICATION_PROPERTY(CONNECT_STRING); con_str := un||'/'||pw||'@'||db; -- data_file := :CONTROL.file_name||'\'||un|| TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp'; cmd_line := 'exp userid='||con_str||' file='||data_file; HOST(cmd_line); -- ALT:=SHOW_ALERT('MULTI_BACKUP'); IF ALT=ALERT_BUTTON1 THEN RAISE FORM_TRIGGER_FAILURE; ELSE EXIT_FORM; END IF; END;
Tags: Oracle Development
Similar Questions
-
Connection to the remote database using Oracle 11 g Builder
Hi all
This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.
Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
"REP-0501: the specified database can be connected.
"ORA-12154: TNS: could not resolve the connect identifier specified.
I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...
Kind regards
PriyankaHello
In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
Example:
ORACLE_HOME = D:\Oracle\Middleware\as_1
ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora
Kind regards
AlexIf someone useful or appropriate please mark accordingly.
-
Connect to the database using oracle forms
Hello experts,
I have installed on my computer, Oracle Developer Suite 10 g (10.1.2.0.2) (including the forms and Designer) and after that I installed Oracle Database 11 g Express Edition (11.2) Beta.
both facilities are on the same (local) computer.
When I chose to connect to the database, he wonder about the data connection to the database:
username, password and database.
I'm sure that the user name and password are correct, because I have no problem to connect directly to the database (via sql * more).
could you please tell me what I should write in the field database? I trid XE but it dose not help.
Can I need to make some changes manully so that it works?
Please note that the operating system is Windows XP service pack 3.
Thank you for your help.
Published by: user1818173 on 28/08/2011 01:43Hello
Have you changed the TNSNAMES file. File of the ORA for DS? You must add the TNS for DS TNSNAMES. ORA file.
Go to $DB_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Copy the entry tns where you connect from SQL * more.
Go to $DS_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Paste the tns entry that you copied.
Now try to connect generator of form.
Kind regards
Qasim Jules -
Inserting a new record in the database using a form empty ADF
Hello
I'm trying to insert a new record into the database using a form.
I have an Employee table and its corresponding entity object and the view object. The table has an id that is used as the primary key and is filled using a sequence in the comic book.
Data controls, I dragged and dropped at the sight of the employee as a form of ADF and checked the submit button include. Then I dragged and dropped the validation on submit button operation.
When I connect to the app and go to the page used to create, I have 2 problems:
1 - the form is filled with the logged in user info.
2. If I try to change the news and validation, the user info is changed in the database and no new record is created.
It makes a little sense to me, but I would like to know if there is a way around it (get an empty form and insert a new record).
NB: the employee id is not part of the form, I want to be filled using the sequence.
Kind regards
MBUser, please tell us your jdev version!
To do this, you must create a new record before going to the display of the form page. In a stubborn workflow (btf), you drag the operation createInsert of the VO on the btf and it will generate a link method, add a view to the btf and put a navigation of the binding of the method of the page. Mark the method as 'Activity by default'. Now, ren, you call the workflow, you create a new record that will show your blank form.
Timo
-
Reset the user database after the removal of field
Hello
We use ES2.5 and we discovered this strange Act of user database. We have a Web service that gets the data user of LiveCycle. He former users are displayed that was stored in the old domain I already deleted the directory of the user.
So... is there a way to reset the user database?
Floh Cu
I just idea... I've recreated the field again with the same ID/name but without the directories and resynced the field. Now, all the old users are marked obsolete.
-
Original title: automation of file tiff without elevated rights association
I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.
Hi, Unclemarcus2002,
You would be wiser to post on the Forum TechNet where there is COMPUTER experts.
http://social.technet.Microsoft.com/forums/en-us/newThread
Maybe using the ASSOC and FTYPE command in a script will do what you want? I think that these orders would also apply the association throughout the world, rather than on a per-user basis.
ASSOC: http:
FTPYE: http:
Here is an example, that you can try.
Let's say you have a text file called "foo.bar" and you want the extension .bar always open with Notepad. There is an association for text files, so get him by typing "Ftype | more' at the command prompt (it will make a major announcement). Finally, you'll see the line "txtfile". On mine, it's "txtfile=%systemroot%\system32\notepad.exe %1" without the quotes.
First create your association: assoc .bar = FooBarText
Now to assign your request to your file type association: ftype FooBarText=%systemroot%\system32\notepad.exe %1
You should now be able to double-click the foo.bar file and it will automatically open in Notepad.
If you already have a Microsoft Office Document Imaging association, I think that it should be relatively simple type of substitution. Use ftype /? for a little more help.
http://community.Spiceworks.com/topic/119639-Windows-7-automate-file-assocations
-
How to create the user account using the command?
How to create the user account using the command?
Open cmd as administrator, and then type the following commands one after the other
NET user / add program mypasswordnet localgroup administrators program / addnet share concfg * C:------/ grant: program, completeThis will create a user account with the name "Program" and the password "MonMotpasse".You can create the user name and password of your choice. -
Dear all,
I'm unable to retrieve the password for the user FUSION_APPS_WSM_APPID using the ldapsearch command
Is the correct command extract the password for the user FUSION_APPS_WSM_APPID below?
$ORACLE_HOME/bin/ldapsearch - h < hostname > Pei 3060 d 'cn = sleep '' w < password > base b s 'orclCSFKey = basic.credentials, cn = oracle.wsm.security, cn = CredentialStore, cn is FusionDomain, cn = JPSContext, cn is FAPolicies' objectclass = * orclcsfname orclcsfpassword
Kindly help me in this problem.
Kind regards
Vinayak K
Can you clarify why you need recover the password? Application identities are designed for internal processing and never to be exposed outdoors or used for other purposes only lift access to the code in some scenarios within the system. So only the administrator must have access to the account and the password of access they would reset it in the store of credentials if necessary. That said I think that the admin can retrieve the password using the command listCred wlst something like:
listCred(map="oracle.wsm.security",key="FUSION_APPS_WSM_APPID-KEY")
--
Jani Rautiainen
Relationship with the developers of Applications in fusion
-
Using a mask to avoid the user to use spaces?
Hello
I want to avoid that the user use spaces in the name of vApp, presented in the web portal.
Is it possible that I can do this using VSM? I found the ability to use masks, but I'm afraid I can't exclude the spaces from the name. I want to allow the user to use numbers and letters of the alphabet and ban areas.
Any ideas?
Thank you
As Lina said, v9.1 FP4 included improved functionality of mask.
Since this update of the package, you should be able to specify field filter to allow only alphanumeric applying the filter «*» I checked in our v.9.1.7, symbol of space will be not be allowed using this mask.
-
Create the remote database using dblink view
Hello
I have a small question for you.
Is it possible to create the remote database using dblink view? Following syntax error
create discover ViewName@DbLinkDame (ColumnName) as
(select 1 double)
"ORA-00905: lack of keyword.
Is this possible at all?
And particularly - is this possible when the remote database is MSSQL and I use heterogeneous services?
I really appreciate your help
Best regards
Wojtek
Published by: wojpik on October 21, 2009 03:59This is a workaround for a remote Oracle database (use the queue of work), however:
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:597877500346143250
but I have no idea if something similar is possible for MSSQL...
-
How to create a button that allows the user to check their form to find errors?
Hello
I use LiveCycle ES3. I would like to add, at the end of my form (independent, NOT on a web form), a button that allows the user to check their form for errors, and then display a list of errors and highlight areas with errors. Finally, he must turn off highlight these fields when the errors have been corrected.
Also, in the form, if the user makes selections, they must include an attachment with their form. I want to make sure when they make selections that requires an attachment, a field is generated at the end of the form that lists all required attachments. Is this possible?
Thank you.
The button validate calls a Script called "controller" object If you look at the hierarchy of the form Variables example there are two Script objects: controller and validation. Script objects are used to maintain the reusable script functions.
You have to re-create those for validation to work. If you right click on 'form1' (or whatever your node in the foreground is called in the hierarchy), you can select "insert a Script object. You will need to do it twice.
In the hierarchy, there is then a node Variables with two Script objects. Name them even as the form of the sample and copy and paste the sample form scripts in them.
-
Benefits &; different about the user to install Oracle ASM.
As an Oracle document.
They suggested the user to install Oracle Grid Infrastructure with ASM disk.
Please suggest me any advantage & different each user.
as oper, asmdba, asmoper, asmadmin
Thank you.
Jossza
Published by: user13049841 on March 17, 2011 22:03Hi Jossza;
As an Oracle document.
They suggested the user to install Oracle Grid Infrastructure with ASM disk.
Please suggest me any advantage & different each user.
as oper, asmdba, asmoper, asmadminAs you mention oracle suggests using different user for grid, asm, etc. Thatsgood path if you have only 1 db. But for me its coz not usable, I have to manage more than 300 db if it is difficult to give the user DIF. for each facility, it makes my job more complex. I hope I can show you my index
Respect of
HELIOS -
What is the connection of the user to view some forms tracking logs
I try to display the journal of record of a user of the application forms, but me being guest for the user and the password. I tried ias_admin but it seems another user. What is the user name to display forms tracking logs?
Thank youHello
Try with this.
User name: admin
password: welcomeArun-
PS: You can also create a user using the sequence of steps
1. in the MS Access OC4J_BI_FORMS-> Applications-> formsapp-> Security
2. create a new group with administrator privileges and a user with the newly created group, and then press the button apply.
3. use this user to view details -
Delete the Message to save Oracle Forms in a block of master / detail
Afternoon and Happy Friday people.
I use Oracle form 6i.
I have a master-detail block in my form. They both have several records. When I make changes to the block of retail and I navigates to another record of the block Master, he asks me "do you want to save the changes that you have made?" Yes/No/Cancel options. This is the message embedded in Oracle and not our custom save the message. I also noticed that when I say 'Yes' to this message, it does not in the trigger key - Commit who defeated the purpose of having the trigger key validation.
Now, this message is coming due to a relationship of the master / detail? Also, what trigger I would seek to trap this message?
Finally, I also noticed that this message (oracle save message) appears after our own custom message when I said 'No' to our personalized Message to register.
Any help would be appreciated.I was wondering why forms brings the Message of the Oracle of inbulit when I'm sailing up to recording the Master block next
The retail block must be erased when you navigate to another master to "make room" for the details of this new form of Basic. So, if there are changes in the retail block, forms asking the user what should happen with the changes. If you want to manage this situation yourself, put your own code in the WE-CLEAR-DETAIL-trigger before the call to CLEAR_ALL_MASTER_DETAILS;
-
Hello forum
IM new in oracle form and have some confusion on the use of oracle web application forms. can someone tell me pls why use forms oracle instead of many web technologies such as asp, c#, php, Jsp? as forms are heavy, and takes a long time to load then why should I use it?
can I use oracle applications forms such as public web applications where anyone can use this application? but given this ive another confusion! all users will need to install OC4J for execution of oracle forms? If they do then its going to be a very big hassle for users.
in fact, I want to know the basic concept of using oracle forms...Depends on your application needs, if you are developing Web sites, with a very weak interaction with a database, move away Oracle forms to Oracle Apex and database 10 g XE.
If you develop an ERP application or any other that interacts strongly with the database (Oracle db) and OLTP performance, validation data and the operations processing and others, then you must use Oracle Forms.
And as it is stated in the above post forms based on SQL and PL/SQL languages and its executables are interpreted at run time, it is not an exe file, it can be maintained more easily, you can take a form offline and the rest of your application would be quite normal.Some people may say forms has its limits, but with PJCs and Java Beans I couldn't find a limitation that cannot be conquered.
Users who run an Oracle web application need not run OC4J at the same time, you must OC4J only if you will be running your form with the manufacturer of forms, or for testing purposes.
For a production deployment, you will need an OAS Oracle applications server and users should only auto-télécharger/install JInitiator the first run of the application only after the first time it works magically.Tony
Maybe you are looking for
-
Mac pro 10.10 won't sleep
All of a sudden my MP 2009 won't sleep. I reset the SMC. Energy parameters Checked. This is the Terminal report; Systemic assertion status: BackgroundTask 0 ApplePushServiceTask 0 UserIsActive 0 PreventUserIdleDisplaySleep 0 PreventSystemSleep 0 Exte
-
Is it possible to change the sort order of the Windows Explorer?
When you use windows Explorer to search for files I find things I named by date are sorted incorrectly.Here is an example of how that fate (sorted by name, having consulted the details page): names of files in the following order Tidbits200710001bTid
-
I just completely describe the scenario below on what happened. Help, please. I'm from areas of technology for 22 years that too with Microsoft Products since 1988, so you can understand my frustration with these issues on windows. Information: OS: W
-
X 220 integrated Webcam or not?
I want to buy a new thinkpad x 220 with the model n ° 4291UYX. having the built-in webcam is very important for me. As far as I know that some models of this series do not have webcam. everyone knows this particular model?