Insert unicode symbol "æ Ə "by oracle form 10g
Hi
I have a form which inset some unicode symbol in a string like
abc ≤ æ Ə abc...
into a Nvarchar column.
database caharchterset = AR8MSWIN1256.
database= 10.2.0.4
but instead of that data it insert ( abc ?? ?? ?? abc..) what is wrong in my setting?
Hello,
AR8MSWIN1256 cannot store unicode characters. You should have set the database (and the A.S.) with some AL32UTF8/UTF8 charset.
Francois
Similar Messages
-
How to use unicode fonts in Oracle forms 10g?
Hi I am working in forms 10g for quite a long time, the software that I have developed so far are all in English language. Now I have requirements to use Bengali Fonts in Forms 10g. I am facing difficulties doing that. Please reply with help. Thanks
Hasan Al MamunCheck this forum post (though that is for 6i, it would be of helpful for you)
How to use unicode fonts in Oracle forms 10g?
-Arun -
Converting Unicode to UTF-8 character set through Oracle forms(10g)
Hi,
I am working on oracle forms (10g) where i need to load files containing unicode character set (multilingual characters) to database.
but while loading the file , junk characters are getting inserted into the database tables.
while reading the file through forms , i am using utl_file.fopen_nchar,utl_file.get_line_nchar functions to read the unicode characters ...
the application server , and database server characterset are set to american utf8 characteset.
In fact , when i change the text file characterset to utf8 through an editor(notepad ++,etc) , in that case , data is getting inserted into database properly,(at least working for english characters) , but not with unicode ...
Any guidance in this regard are highly appreciated
Thank you in advance
Sanuhi
please check out the following link.
http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
sarah -
Hi all,
We are having database server - oracle 10g enterprise edition R2,
forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
We have created a table which has a column of type "timestamp",the following is the structure.
CREATE TABLE "STOCK_AREA_MASTER"
( "STOCK_AREA_CODE" NCHAR(5) NOT NULL ENABLE,
"STOCK_AREA_DESC" NVARCHAR2(40) NOT NULL ENABLE,
"RECORD_STATUS" CHAR(1) DEFAULT 'A',
"USER_ID" NVARCHAR2(20) DEFAULT USER,
"TIMESTAMP" TIMESTAMP (6) DEFAULT CURRENT_TIMESTAMP)
[\code]
We tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
FRM -10095 - Assertion failed
on seeing the forms help for the error FRM-10095,We are getting the following message
FRM-10095: Assertion failed in %s, at %s:%d. Cause: An internal inconsistency was detected. Action: Contact an Oracle support representative, and proceed with caution
We have the following concerns.
1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
We would appreciate if some one could throw some light on the above.
Thanks in advance
Regards
MohanHi Mohan,
Hm. Strange.
I have reproduced the problem in my environment.
I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
You may want to enforce some dateformat. I don't know whether that will work.
Good Luck!
Remco -
Bad bind variable error in oracle forms 10g
i have a created a table in oracle database 10g
create table myimage(image_id number, image_name BLOB);
i want insert an image and retrieve an image through programing(don't want block level) in oracle forms 10g
without using java beans(and finely working in both windows XP2 and Solaries)
how can i do this please can anybody give me the source code to do this because i am new in oracle forms.
i need a immediate replay to this answer why because i have urgent requirement on this in my web erp projectYou can use WEBUTIL to do so, but
without using java beans(and finely working in both windows XP2 and Solaries)WEBUTIL also contains javabean. I don't know why you have this restriction, i'd say you won't succeed without any java-bean. -
Storing an Excel File in the Oracle Table through Oracle Form (10g)
Hi,
We have the below requirement in the Oracle Forms (10g).
Database: 11g
Application: R12
We need to provide an upload functionality to the user, so that he can upload an excel file into the form (from the local system), this is achived.
Now what we need to do is that we need to capture the path of the document (in the local system) and we need to store the document in a Oracle table.
Next we need to validate the records that are being loaded and the error records should be written into one more file and that file also we need to store in an Oracle table, this is because, i need to query this error file from the table later and need to send to the user as an e-mail.
Basically i started off with the below code just for the POC. but iam facing the error. Please help. I did not put this code in my form.
Create Table Email_Attachments(Id_Pk Integer Primary Key,Fname Varchar2(50),Image Blob);
Create Or Replace Directory Temp As 'C:\';
Create Or Replace Procedure Load_File(Pi_Id In Integer, Pfname In Varchar2) Is
Src_File Bfile;
Dst_File Blob;
Lgh_File Binary_Integer;
Begin
Src_File := Bfilename('TEMP', Pfname);
Insert Into Email_Attachments (Id_Pk,Fname,Image)
Values (Pi_Id,Pfname, Empty_Blob())
Returning Image Into Dst_File;
Dbms_Lob.Open(Src_File, Dbms_Lob.File_Readonly);
Lgh_File := Dbms_Lob.Getlength(Src_File);
Dbms_Lob.Loadfromfile(Dst_File, Src_File, Lgh_File);
Dbms_Lob.Close(Src_File);
Commit;
End;
begin
Load_File(1,'test.txt');
end;
ERROR
ORA-22288: file or LOB operation FILEOPEN failed
No Such file or directory
ORA-06512: at "SYS.DBMS_LOB", line 1014
ORA-06512: at "SYS.LOAD_FILE", line 10
ORA-06512: at line 2
How to capture the Path from which he has loaded the file?
How to Write the error records it to the file and store it in an Oracle table?
Will the below table be of use to me?
fnd_lobs_document
fnd_lobs
fnd_documents
Please share your ideas as to how to acheive this.
Thanks and Regards
SrinivasWhen you want to process the file, them it depends on the format. "Excel file" is a term that is used for a variety of file formats, mostly simple CSV, binary (true) XLS and XLSX.
So to get help you have to give us more information. Since the file is already in the db you might get better answers at {forum:id=75}. The forum has a FAQ that has a whole section {message:id=9360007}.
Regards
Marcus -
Oracle reports 6i to Oracle forms 10g migration
Hi,
I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
Currently for ORacle reports 6i, I have the following code in my java application
rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
2. What ould I do with the 6i .rdf files to upgrade them to 10g ?I am trying to call an Oracle report i.e .rdf (which is located on the Oracle App Server) from my java EE 5 (JSF) application. The Oracle App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release. I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ? -
Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)
Hi everyone,
I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
Thanksduplicate
Re: Oracle Forms 10G not working as Oracle Forms 6i -
How to do this in oracle forms 10g
hi all,
any idea about how to format a drive using oracle forms 10g and shutting down the remote pc and a personal pc using oracle forms 10g.
i am using windows XP2 as os.
please replay..Hi Inol and Weiden,
thanks for your help,
i have cretaed a form xyz.fmx with a button , i wrote in when-button-pressed and also attached the default webutil.pll(which is in forms path) library in attached-library section
Client_host('cmd c/ shutdown -i');
but my problem is that when i run the form i am getting error that
FRM-40039: Cannot attach library webutil.pl while opening form xyz.fmx.
Cause: The given library is attached to the form but
cannot be located in the search path for PL/SQL libraries.
Action: Make sure that the given library can be found
and that it has read permissions set.
Level: 99
Type: Error
i think i have to configure the webutill.pll but i don't how to configure
can you tell me how to configure the webutil.pll file..
please reply.. -
How to read a Value from Excel Cell into Oracle Forms 10g with Java
Did any one Implamented a Java PJC to integrate Excel on Oracle Forms 10g?
I Open Excel Applikation.
Open a File like c:\import_test.xls
read a number 05 from A:1 (i get it as return value).
Save a number in a variable in Forms 10g
Can any one help my please?
Thankswhy don't you use webutil.
it has package client_ole2 which allows you to have programmatic interface with excel application.
this is especially useful if the excel to be read is available in the client. -
How to use LDAP with Oracle forms 10g on Oracle application server
Hi,
I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
Thanks
LukshI am not quite sure if this works out of the box. According to an Oracle FAQ:
4.2 Can I use LDAP to authenticate Forms Services?
Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms. -
Exception when calling web service from Oracle forms 10g
Hi All,
I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
This class is included in the forms application by using "Import Java Class" feature.
Forms built the following funtion based on that class:
-- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
FUNCTION authenticate(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2,
a1 VARCHAR2) RETURN VARCHAR2 IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_STRING_ARG(args, a0);
JNI.ADD_STRING_ARG(args, a1);
message('here1');
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
message('here2');
END;
However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
Please suggest me what's wrong with the code. I appreciate your time and help.
Thanks,
Scott.My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
Thanks -
URGENT!!! calling crystal reports from oracle forms 10g
Is it possible to call crystal reports from oracle forms 10g?
Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
Please provide codes with details showing step by step.
Thankshi
try something like this.
DECLARE
charWinHandle VARCHAR2(50);
numWinHandle NUMBER;
BEGIN Set_Application_Property(Cursor_Style,'BUSY');
charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
numWinHandle := To_Number(charWinHandle);
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
:= numWinHandle;
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
:Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
:= 'DSN=;UID=' || Get_Application_Property(UserName) ||
';pwd=' || Get_Application_Property(password) || ';dsq=;';
Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
'C:\Sample_Rep.Rpt' );
Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
Set_Window_Property( 'MAIN', Window_State, Maximize );
:reptitle := 'Report Preview Window';
numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
Set_Application_Property(Cursor_Style,'DEFAULT');
END;NOTE: Change the report name and path according to your required file name and path in
the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
assumes that you will use the current USER and PASSWORD for the Form.
- To make the above Form generic so that you can run any Crystal report from it, then create
a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
Then just replace the file name with the passed parameter.
-. Run the Form
If its correct/helpful please mark it thanks.
sarah
Edited by: S@R@h on Nov 27, 2009 6:33 AM -
Calling Word document from Oracle Forms 10g
Hi all,
I would like to call a Microsoft Word document from my Oracle Forms 10g.
What would be the best way to do this?
Thank you in advance.Have you tried something like
WEB.SHOW_DOCUMENT('file:///<documentpath>','_blank'); -
Calling Crystal Reports from Oracle Forms 10G
Hi everyone,
I am trying to call a crystal report from Oracle Forms 10G.
I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
Can someone please send me the code to do this and also the exact steps that are to be followed.
Thanks
Fm.Hi Andreas,
I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
Is that possible ? If yes please let me know the steps to do this.
Thanks
Faiz
Edited by: IQ on May 13, 2011 11:38 AM
Maybe you are looking for
-
I can't find my music after upgrading to Lion
Can anyone help me recover my music?
-
How can I get an h:message tag to display an icon?
I'm trying to display an image instead of text <h:message binding="#{XXX.yyy}" errorClass="errorIcon" fatalClass="fatalMessage" for="zzz" id="xxxxMessage" infoClass="infoMessage" sho
-
How to get the customized page's xml version ?
Hi All, I have created some fields (of style 'MessageChoice', 'MessageLovInput') through personalization in a page and after that i navigated to the middle-tier where our MDS repository holding all the page's source file (in form of XXXXPG.xml) to ge
-
Using clientAttributes during partial submit
Hello All, I am using Jdeveloper 11g for an ADF Project. What I am trying is, to show a popup on click of a button based on a business condition - Looked simple, but.... What I've been trying to do so far is, 1. On my jspx page I have an af:popup whi
-
Can i purchase an iphone 6 in the states, and able to use it in Hong Kong?
ditto