Create the hyperlink in oracle Forms
Hi allI want to show a hyper link on my form(forms_6i).i have used.web.showdocument (url, '_blank')
its fine for the web URL.but my requirement to have the hyper link to the file stored in LAN in the field on the part of work.
Is it possible to do with oracle forms 6i and e-Business suite.
Thank you
Bharat
Bharat,
But to open the path of local network I should use \\192.168.1.203\ like that then EUL.
There is no way to do it. ? >
As you say here, it's a network , not a URL path. The WEB. ShowDocument integrated expects a URL so everything that you pass to this built-in function will be treated as a URL. Rather than use the UNC format, try using the URL to open a file from a browser instead (for example: file://192.168.1.200/test/hi).
You can test it in your browser quite easily to confirm that it works. Then pass the url of the Web file. ShowDocument instead of the network address.
Craig...
Tags: Oracle Development
Similar Questions
-
The components of Oracle Forms and reports refers specifically to the which components?
Hello
Could you help me with the following question.
Our client uses the following documents to improve reports and forms Oracle 11 g Release 1 on Oracle Forms and reports 11g Release 2.
http://docs.Oracle.com/CD/E38115_01/doc.111210/e23975/upgrade_from_r1.htm#BDJFHIEH
Oracle® Fusion Middleware Upgrade Guide for Oracle Forms and reports
11g Release 2 (11.1.2.1)
E23975-02 part number
Upgrade-5,3 doing the Oracle Forms and reports 11 g Release 1 (11.1.1)
----------cut-----------
Ensure that the destination Oracle instance and the destination Oracle WebLogic Server domain are running.
To verify that the instance and domain are running, log on to Oracle Enterprise Manager Fusion Middleware control for the field and make sure that the managed servers and components Oracle Forms and reports are running.
----------cut-----------
On the above documents, our client has a question.
[Question]
The components of Oracle Forms and reports refers specifically to the which components?
(Or need to check what components are running?)
Please give me some advice.
Best regards
DavidFor Windows, you can use the command line or shortcuts in Windows that are created for you. In the case of OPMN under Windows, a Windows Service is created. Information on the power on/off is in the documentation of the product here:
http://docs.Oracle.com/CD/E23943_01/Web.1111/e13708/TOC.htm
http://docs.Oracle.com/CD/E23943_01/Web.1111/e13740/starting_nodemgr.htm
-
How to display the rownum in oracle forms?
Hai all,
How to display the rownum in oracle forms?
Thank you
RCS
----------------
I would add rowum with the current form of group_mstr:
former columns:
group_id
GroupName
new columns will be:
identifier of the line
group_id
GroupName
I created as follows:
in forms
text tool > row id
text element > EXT_ITEM20
error text element: no white color, it's a different color
--------------
create > Trigger > a time new form instance > I gave like this:
DECLARE
CURSOR crrow_id IS
SELECT count (*) + 1 group_mstr;
BEGIN
OPEN crrow_id.
Search FOR crrow_id IN: TEXT_ITEM20;
CLOSE Crrow_id;
END;
------------
error: identifier group_mst must be declard
============I don't know also not quite what you want to display in your form. Do you want to just number the records displayed, from 1 to n?
If so, create a text whose property 'data base element' element to the value 'no', "calculation method" formula and the formula itself: SYSTEM. " TRIGGER_RECORD, then, in each case, the registration number should be indicated.
-
FILL MONTHS DYNAMICALLY IN THE ITEM VIA ORACLE FORMS GROUP RECORDING LIST
Experts
I have a query in oracle forms. I need to fill Last_Month, Current_Month & Next_month based on Sys_Date in the list box. I am able to get the values in SQL if I run the query below, but when I use the version of Oracle Forms 10.1.2.0.2, I could not get the values of Mr. can you please guide me where I'm wrong.
declare
v_rg_id recordgroup: = NULL;
Number of V_errorcode;
v_rg_salmth varchar2 (30): = "MONTHS";
Begin
v_rg_id: = find_group (v_rg_salmth);
If id_null (v_rg_id) then
v_rg_id: = create_group_from_query (v_rg_salmth,
"WITH (AS MONTH_COUNTER)
SELECT LEVEL 2 AS ID
OF THE DOUBLE
CONNECT BY LEVEL = 2
UNION
SELECT LEVEL AS ID
OF THE DOUBLE
CONNECT BY LEVEL = 0
)
SELECT TO_CHAR (ADD_MONTHS (TO_CHAR (SYSDATE), ID), MONTH) AS MONTH_COUNTER MONTHS ');
v_errorcode: = populate_group (v_rg_id);
If v_errorcode = 0 then
message ("record group filled with data");
on the other
message ("V_errorcode is:" | ") v_errorcode);
end if;
End if;
populate_list('MASTER.) MONTH, v_rg_id);
end;
The rather complicated query, try
SELECT ADD_MONTHS (SYSDATE-1) TO DOUBLE
UNION ALL
SELECT SYSDATE DOUBLE
UNION ALL
SELECT THE DOUBLE ADD_MONTHS(SYSDATE,1)
BTW. to use a query to populate a list, you must select two values, a label and a value, check it fill listitems dynamically - Andreas Weiden - on Oracle
-
by selecting only the time in oracle forms
Hi all
as a picker of oracle forms can I select the time in oracle forms in a text element.
I want to display the time in this format 10:10:30, and I would also like to insert into the table
I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.
my version of oracle forms is 10g.
Please answer...Hi, extreme
extreme wrote:
Hi all
as a picker of oracle forms can I select the time in oracle forms in a text element.
I want to display the time in this format 10:10:30, and I would also like to insert into the table
I took the data type of this column as varchar2 (15) if I take date can I insert time or varchar2 is ok.Better take column with the data type date. You can insert the date and time in the date field.
You just change the forms.
Change the data type Date to Datetimeto view a single moment, use the format mask.
Hope this helps
-
How can I use SQL to check the Version of Oracle Forms and object of the request?
Hi all:
How can I use SQL to check the Version of Oracle Forms and object of the request?
Concerning
TerryTerry,
See the following threads/docs for the version of forms.
How to find the developer version
Re: How to find the developer versionNote: 466890.1 - Script to find the Apache, Java, Jinitiator, version of forms and details of the JVM for Oracle E-Business Suite 11i
Note: 392793.1 - how to get Forms Oracle Oracle Applications 11i Command Line Version
Note: 468311.1 - Script to find the Apache, Java, JRE, Forms for Oracle E-Business Suite R12 versionWhat purpose are you talking?
Thank you
Hussein -
Call a page of the OAF of Oracle Forms
Hello
Is it possible to call a page of the OAF of Oracle Forms.
Thanks in advance,
RoselyneHi Flo,
Read Pages Executive Dev Guide to launch OA of Oracle Forms Applications.
Thank you
-Anil -
Unable to connect to the database from Oracle Forms server
Hello
I installed Oracle Forms on top of Weblogic server. When I try to connect to an Oracle Forms home by TNS naming database, it returns error "ORA-12504". It works fine when I use EZConnect.
D:\Oracle\Middleware\FRHome\BIN >. \sqlplus myuser/mypass@auhdb2
SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:34 2014
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA
D:\Oracle\Middleware\FRHome\BIN > @//auhdb2/auhdb2 mypass/myuser mypasssqlplus
SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:55 2014
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
Here are the specifications of the environment:
Server operating system: Windows 2008 R2 64-bit EA
WebLogic: Weblogic Version 10.3.6
Forms and reports: 11.1.2.2
Database, I am trying to connect to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 on Windows 2003 Server
Tnsnames configuration in D:\Oracle\Middleware\FRHome\network\admin:
AUHDB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = auhdb2) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = auhdb2)
)
)
Thanks in advance.
I want to update this post because I understood what was the matter.
The TNSNAMES file. ORA file must be created in ORACLE_INSTANCE/config, not in %ORACLE_HOME%\FRHome\network\admin
It was interesting for me!
-
Create the hyperlink in a text field
I have a form that collects data from a customer. The number of customers is their phone number. This issue is already known and stored in a "cPhone" text field in the form. After all data are collected on the form, I then need to browse the site of customers the last part of the url of the site corresponding to their phone number that is already stored in the field "cPhone. What I want to do is to create a hyperlink to the Web site, that ends in the number of customer phone and when you click it it will take you to this Web site. For example, the url of the Web site might be www.mywebsite.com/main/active/ and my clients, 'cPhone' telephone number is 800-555-5555, when some kind of action is taken, the two are combined, and then it takes me to this Web page.
Is they are combined and an action is created to open a web link, or a hyperlink can be created on the page that can be clicked, or anything else in the meantime. Is this possible?
Probably the simplest is to use a button. The action could be a JavaScript like:
Script mouse upward to a button
app.launchURL ("http://www.example.com/main/active/"+ getField("cPhone").valueAsString, true);
In practice, you'll want to check the value of the number field phone to see that it is not empty and is over, but this should help you get started.
You can use the buttonSetCaption method to set the label of the button to the URL, perhaps in the phone number field Validate event.
-
I want to create a user in a trigger of form such as Pre_insert or other trigger
CREATE a USER: daten.oracle_user PROFILE "DEFAULT" IDENTIFIED BY "xy".
DEFAULT PASSWORD EXPIRATION
TABLESPACE TEMPORARY "USERS."
TABLESPACE 'TEMP' ACCOUNT UNLOCK;
GRANT 'CONNECT' to: daten.oracle_user;
GRANT "DBA" to: daten.oracle_user;
does not work when I compile. How can I solve the problem to create a user in a form?
highly recommended German responses.
I use
ORACLE FORMS DEVELOPER AND SERVER FORMS 6i (Patch 2) RELEASE NOTES
and I think its a version of database 8. but I am not shureHello!
Do not do that the DDL statements in a before insert trigger
cause you are submitting a commit in the middle of a transaction of forms!Use a key trigger or button as a trigger:
forms_ddl ( 'CREATE USER ' || :daten.oracle_user || ' PROFILE "DEFAULT" IDENTIFIED BY "xy"' || ' PASSWORD EXPIRE DEFAULT' || ' TABLESPACE "USERS" TEMPORARY' || ' TABLESPACE "TEMP" ACCOUNT UNLOCK' ); forms_ddl ( 'GRANT "CONNECT" TO ' || :daten.oracle_user ); forms_ddl ( 'GRANT "DBA" TO ' || :daten.oracle_user );
Concerning
-
Dear Sir.
I use the ORACLE forms 10.1.2.0.2 version, it is possible in this version that more horizontally online next menu top 50 show currently in the horizontal scroll bar in oracle forms menu, but in this show of forms 6.0.8.11.3 oracle version of the main menu in the following line
Mukesh Nandan
What was wrong with the anser you got in your first thread?
see you soon
-
Point of the box in oracle forms
Hello experts, I am new in oracle forms. I use oracle weblogic server 10.3.5, oracle database 11 g on windows 7, 11 platform g. I have a simple table.there basic data block is a tabular shape is selected, it has four rows (records). Now I have to block the 4 adjacent boxes to data records in another block of data. Now, I have to feature in which that records must be inserted to the table of database for which corresponding checkbox (in front of registration) is checked. Thank you cordially Abdellatif.
Hello
Commit_Form built-in function commits all available database fields. Therefore, use separate Insert in the statement to accomplish your task.
As...
because me in 1... 4
loop
premier_enregistrement;
If: chk_box = 'Y' then
Insert into
values(field1,field2,...); end if;
next_record;
end loop;
-
Lock the Table TM - oracle forms 6i application - sharing mode
What are the scenarios where a table can be shared mode?
I know that one is using the command "LOCK TABLE... IN SHARE MODE ".
Is there another way?
O Oracle forms pode deixar uma em sharing mode image?
I use a base 6i app table lock blocks 'automatic' and porperty primary key 'true '.
Edited by: 920118 03/12/2012 09:45920118 wrote:
What are the scenarios where a table can be shared mode?
I know that one is using the command "LOCK TABLE... IN SHARE MODE ".Is there another way?
O Oracle forms pode deixar uma em sharing mode image?
I use a base 6i app table lock blocks 'automatic' and porperty primary key 'true '.
Edited by: 920118 03/12/2012 09:45
When everything has failed, read the Fine Manual
http://docs.Oracle.com/CD/E11882_01/server.112/e25789/consist.htm#BABDDFHB
-
How to find the error in oracle forms
Dear gurus,
I am newbie in oracle forms. I have a form with many items. In this regard, certain elements are not met. These elements are filled from four different cursors depending on certain conditions. for example,.
This cursors are written to the database level.IF <condtion1> true then open cursor1; populate all the items from cursor1 columns elsif <condition2>true then open cursor2; populate all the items from cursor2 columns elsif<condtion3>true then open cursor3; populate all items from curso3r columns elsif<condtion4>true then open cursor4; populate all items from cursor4 columns
Now, I want to know what slider elements become values.
My TL told me to find this, put messages. But I don't know where I put message [or in forms or cursors?]. Is an easy way to find errors in its present form?
Thank you all.My TL told me to find this, put messages. But I don't know where I put message [or in forms or cursors?].
You can add messages to your forms code in your conditional statement. For example, using your code sample:
IF
true then open cursor1; Clear_Message; Message('Using Cursor 1'); Message(' '); populate all the items from cursor1 columns elsif true then Clear_Message; Message('Using Cursor 2'); Message(' '); open cursor2; populate all the items from cursor2 columns elsif true then Clear_Message; Message('Using Cursor 3'); Message(' '); open cursor3; populate all items from curso3r columns elsif true then Clear_Message; Message('Using Cursor 4'); Message(' '); open cursor4; populate all items from cursor4 columns If your form works and you troubleshoot just a mistake, I wouldn't recommend restructure you your form. If the current process is inefficient or not, it has been tested and proved to a certain extent. Unless the form has many problems, I would keep the way it is and just solve the problem at hand! :)
Is an easy way to find errors in its present form?
You don't mention your version of Oracle Forms, but rather than adding messages to the code; I recommend that you use the debugger to step through your code forms so that you can see the enforcement code that is causing the problem. (Note: the debugger of forms can only step through you the code in the form.) If your cursors are in a data base/package procedure - all you will see is the call of this procedure of database/package - not the code in the procedure/package).
If you are using Forms 6i, simply add the "break." part of the code you want to debug. If you use Forms 9i or higher, then you will need to be able to run your form from forms manufacturer; which requires a configuration to make it work. Once configured, simply select the line you want to break the and press F5 for enabled or disabled a breakpoint. Then run your form by using the option 'run Debug form '.
If you really want to reegineer your form to use a query in the From Clause, take a look to forms: how - a block based on a query FROM Clause for more information on the query from Clause.
Now, I want to know what slider elements become values. The link Christian listed is also a very good article on using queries in the From Clause.
Hope this helps,
Craig B-)If someone useful or appropriate, please mark accordingly.
-
Create the calculated in PHP form field
Hello
I am trying to create a calculated field that will take care of the average of the ratings when a form is entered. This field will then submit the average value and the shape at the end (that's why I need the value to calculate before sending the form - that is, as the form is filled out).
I found the following code (designed for HTML forms rather than PHP forms, but I hope that it might work). It doesn't seem to do anything - the field displays no information. Help?
< script language = javascript >
< !--/ /
function dm (amount)
{
String = ' ' + amount;
DEC = string.length - string.indexOf('.');
If (string.indexOf('.') == - 1).
Returns the string + '. 00';
If (dec == 1)
return string + ' 00 ";
If (dec == 2)
return string + '0';
If (dec 3)
return string.substring(0,string.length-dec+3);
Returns the string;
}
function calculate)
{
Opp1 = 0; Inv1 = 0; COM1 = 0; wlb1 = 0; COM2 = 0; Atm1 = 0; PAR1 = 0; Increase 1 = 0; Rew1 = 0; Env1 = 0; Gro1 = 0;
If (document.form1.Opportunity.value > "")
{Opp1 = document.form1.Opportunity.value};
document. Form1.opportunity.value = eval (Opp1);
If (document.form1.Investment.value > "")
{Inv1 = document.form1.Investment.value};
document. Form1.investment.value = eval (Inv1);
If (document.form1.Community.value > "")
{Com1 = document.form1.Community.value};
document.Form1.Community.Value = eval (Com1);
If (document.form1.WLB.value > "")
{wlb1 = document.form1.WLB.value};
document. Form1.WLB.value = eval (wlb1);
If (document.form1.Communication.value > "")
{Com2 = document.form1.Communication.value};
document.Form1.communication.Value = eval (Com2);
If (document.form1.Atmosphere.value > "")
{Atm1 = document.form1.Atmosphere.value};
document. Form1.atmosphere.value = eval (Atm1);
If (document.form1.Performance.value > "")
{PAR1 = document.form1.Performance.value};
document. Form1.performance.value = eval (Per1);
If (document.form1.Inclusion.value > "")
{Increase 1 = document.form1.Inclusion.value};
document. Form1.inclusion.value = eval (Inc1);
If (document.form1.Rewards.value > "")
{Rew1 = document.form1.Rewards.value};
document. Form1.rewards.value = eval (Rew1);
If (document.form1.Environment.value > "")
{Env1 = document.form1.Environment.value};
document. Form1.environment.value = eval (Env1);
If (document.form1.Groups.value > "")
{Gro1 = document.form1.Groups.value};
document. Form1.groups.value = eval (Gro1);
Totamt =
eval (Opp1) +.
eval (Inv1) +.
eval (COM1) +.
eval (wlb1) +.
eval (COM2).
eval (Atm1) +.
eval (Per1) +.
eval (Inc1) +.
eval (Rew1) +.
eval (Env1) +.
eval (Gro1);
document. Form1.GrandTotal.value = dm (eval (Totamt));
}
->
< /script >
Any suggestions gratefully received.
Sorry for the explanation of the solution, this is why you shouldn't let dyslexia on the forums...
Yes, you can put onChange = "calculate ()" within any html element, but it will only work for items that have a 'value' that can change, such as "
The average value can be reported by adding any of the following lines:
Happy scripting!
Maybe you are looking for
-
Since the update of Firefox by following the instructions, can't use Edit cut and paste etc. It was necessary to individual emails from my son!
-
HP Pavilion Elite e9220y: HDMI connection problem
I can't get my computer to connect to my monitor (HP w2338h) in hdmi mode. The graphics card is the original of the computer (Radeon HD 4350) that I'm looking for upgrade to a Radeon HD 6670, but I had no input (black screen) when I went from cards
-
Contacts not Backing Up to iCloud.
I have a new iOS iPad Mini 4 9.2 race and an iMac with OS X 10.11.2. When I look at my contacts, only a handful are located on the cloud and the rest are the "on my Mac". Therefore, only the handle is available on the iPad. How can I get the rest
-
How to change the setting on my pc so that it requires no password information when the pc is not used for 10 to 15 minutes?
-
Download Microsoft framework 4.0 fails
whenever I try to download Microsoft framework 4.0, the installation fails because of an error message. I tried several times and it fails every time. Original title: framework 4.0