Hindi in Oracle forms6i
Hi,
I am trying to create form having labels in hindi,and the data which will be going
in database will be in english ,so what i have done i have changed nls_lang at client end to AMERICAN_AMERICA.UTF8 ,but still if create a label and changed font to mangal and types by changing key board layout to hindi.its showing ??????
i m able to type in hindi with mangal font in notepad.
Please help me out.
Regards,
Sandeep
its showing ??????Where? In Forms 6i or sqlplus?
AFAIK, sqlplus (command prompt) is not able to display umlaut characters so it will not be able to display characters for the regional languages. You can see umlauts in sqlplus for windows but I don't think it would display other language characters. The font used is a fixed font.
Similar Messages
-
How to create menus in oracle forms6i?
hello all,
I want to create menu option in oracle forms6i..Is it possible? then how to create menus in a frame? pls help me..
USER MANAGEMENT-------------->this is main menu.under this i want following
--------->1.ADD USER
---------->2.EDIT USER
----------->3.DROP USERHi Balraj
Try to read this & implement it
http://dbaforums.org/oracle/index.php?showtopic=2031
u have also menu FREE sample as Demo Forms6i pls down load
http://www.oracle.com/technology/sample_code/products/forms/6idemos.html
Or download it directly as in this Thread Francois posted Directly...
Forms6 : default menus menudef.mmb and menudefs.mmb
Regards,
Abdetu...
Edited by: Abdetu on Jan 23, 2011 11:31 PM -
Oracle Forms6i Query Performance issue - Urgent
Hi All,
I'm using oracle forms6i and Oracle DB 9i.
I'm facing the performance issue in query forms.
In detail block form taking long time to load the data.
Form contains 2 non data blocks
1.HDR - 3 input parameters
2.DETAILS - Grid - Details
HDR input fields
1.Company Code
2.Company ACccount No
3.Customer Name
Details Grid is displayed the details.
Here there are 2 tables involved
1.Table1 - 1 crore records
2.Table2 - 4 crore records
In form procedure one cursor bulid and fetch is done directly and assign the values to form block fields.
Below i've pasted the query
SELECT
t1.entry_dt,
t2.authoriser_code,
t1.company_code,
t1.company_ac_no
initcap(t1.customer_name) cust_name,
t2.agreement_no
t1.customer_id
FROM
table1 t1,
table2 t2
WHERE
(t2.trans_no = t1.trans_no or t2.temp_trans_no = t1.trans_no)
AND t1.company_code = nvl(:hdr.l_company_code,t1.company_code)
AND t1.company_ac_no = nvl(:hdr.l_company_ac_no,t1.company_ac_no)
AND lower(t1.customer_name) LIKE lower(nvl('%'||:hdr.l_customer_name||'%' ,t1.customer_name))
GROUP BY
t2.authoriser_code,
t1.company_code,
t1.company_ac_no,
t1.customer_name,
t2.agreement_no,
t1.customer_id;
Where Clause Analysis
1.Condition 1 OR operator (In table2 two different columbs are compared with one column in table)
2.Like Operator
3.All the columns has index but not used properly always full table scan
4.NVL chk
5.If i run the qry in backend means coming little fast,front end very slow
Input Parameter - Query retrival data - limit
Only compnay code means record count will be 50 - 500 records -
Only compnay code and comp ac number means record count will be 1-5
Only compnay code,omp ac number and customer name means record count will be 1 - 5 records
I have tried following ways
1.Split the query using UNIOIN (OR clause seaparted) - Nested loops COST 850 , Nested loops COST 750 - index by row id - cost is 160 ,index by row id - cost is 152 full table access.................................
2.Dynamic SQL build - 'DBMS_SQL.DEFINE COLUMN .....
3.Given onlu one input parameter - Nested loops COST 780 , Nested loops COST 780 - index by row id - cost is 148 ,index by row id - cost is 152 full table access.................................
Still im facing the same issue.
Please help me out on this.
Thanks and Regards,
Oracle1001Sudhakar P wrote:
the below query its take more than one minute while updating the records through pro*c.
Execute 562238 161.03 174.15 7 3932677 2274833 562238Hi Sudhakar,
If the database is capable of executing 562,238 update statements in one minute, then that's pretty good, don't you think.
Your real problem is in the application code which probably looks something like this in pseudocode:
for i in (some set containing 562,238 rows)
loop
<your update statement with all the bind variables>
end loop;If you transform your code to do a single update statement, you'll gain a lot of seconds.
Regards,
Rob. -
Oracle Forms6i Implementation - help needed
I have a table structure like below.
CREATE TABLE test
test_seq_no NUMBER, -- Primary key
test_case_id VARCHAR2 (15) NOT NULL,
test_dct_seq_no NUMBER (4),
test_atyp_code VARCHAR2 (6) NOT NULL,
test_pid NUMBER (8) NOT NULL,
test_act_text VARCHAR2 (100),
test_due_date DATE,
test_assn_date DATE DEFAULT SYSDATE,
test_assn_user_id VARCHAR2 (30) DEFAULT USER
TEST_CASE_ID, TEST_DCT_SEQ_NO, TEST_ATYP_CODE and TEST_PID fields are coming from 4 different tables. Users need a screen with two blocks for data entry into this table.
Upper block will have following fields in a tabular format with maximum of 4 records.
TEST_ATYP_CODE, TEST_PID, TEST_PID_DESC, FREE_TEXT_FIELD, DUE_DATE
And in 2nd block, they have following in tabular format with 10 records.
TEST_CASE_ID, TEST_CASE_DESC, TEST_DCT_SEQ_NO, TEST_DCT_SEQ_NO_DESC
They want to assign action type (TEST_ATYP_CODE) to users (TEST_PID) in 1st block and then create multilple CASE entries into 2nd block.
e.g. If they have 2 records entered in assignment block (first block) and 4 records in 2nd block, it should save 2x4 = 8 records into the table.. meaning all
values in each record of 1st block are applied to all records in the 2nd block.
They also want to query on this form and want to re-assign or change the ACTIONS or ASSIGNEES or CASES on multilple records in one go.
How can I do this in Oracle Forms6i?
I am thinking to suggest them to change screen layout to have all table fields in ONE block (since they are from ONE table) and let them set the DEFAULT values in 1st control block which are used for creating 2nd block entries.
Please suggest any ideas for implementation? Like, how many data blocks, control blocks and how to handle query, inserts etc.
Thanks!Thank you for replying.
Well, table structure is normalized and even if i further split the table, it can become master-detail but they don't want to save the details for each master. They want to enter multiple masters and multiple details in one go. e.g. if they entered 2 records in master block and 4 records in details, it should save 2x4 = 8 records at once.
You are right, it can work first time... I can create two blocks. One control block and one DB detail block and for each control record I can save all details and then go to next control record and save all details for it and so on. But how will I keep track if they need to change just one instance of either control or detail.
Another possibility would be that they select a control record for which they want to enter details and let system populate the control values into detail and they enter rest of details. But this will require more data entry to create details for each control record.
Any ideas are welcome! -
Hi Guys,
I am calling java bean from oracle Forms6i (implementation
class property set to bean class). This java bean in turn
calling some JNI methods written in C. The application server
(Forms6i) is hanging at the point of calling the JNI method.
Is oracle Forms6i supports all java functionality (JNI here)
and if so how to solve the problem ?
Any pointers or tips in this regard is highly appreciated ?
Thanks & Regards
Chandra MohanTo call Java from forms:
look at the technical documents on Java integration at
http://otn.oracle.com/products/forms
and also look at the Javabeans and PJC samples in the sample
code section of Forms on OTN.
Creating a random number using a java class is an excelent
example of how to use Java with forms. -
Get data AVERY weighing machine my oracle forms6i
Hi Friends,
Any idea to capture data from com port, where attached AVERY weighing machine attached, now is delviering "weight" into Hyperterminal from there im capturing to text file then getting into Oracle forms6i forms. is there any idea to get this directly yto forms without all this..
thanks in advanceDidn't you post this message already?? We need to know what interface your machine exposes - is it C, Java, VB?
Grant Ronald
Forms Product Management -
IS Yahoo Messenger applicable with Oracle Forms6i?
Hi guys,
Im doing a project regarding the Job Request module using Orcle forms6i. This module will be using by a lot of users per Departments and i want every transactions..every job request entered would be well monitored between me and my users. Im planning to use the Yahoo Messenger to be part of it. I want every transactions posted or approved would be monitor through this Yahoo Messenger. Theres a message coming from this yahoo messenger "that certain transactions was Approved by a USER". Is this possible to use the Yahoo Messenger with Oracle Forms6i?
Thank you.
LalaI know there is a 'Oracle XMPP/Jabber Instant Messenger' available for the Oracle database on sourceforge.net. You can then sent message from the database to i.e. a google talk client.
And I also added a pluggable java component inside Oracle Forms 10gR2. [http://www.screentoaster.com/watch/stUEJUR0NIR1pbR19bWlpYU1dS/chat_bean_inside_oracle_forms|http://www.screentoaster.com/watch/stUEJUR0NIR1pbR19bWlpYU1dS/chat_bean_inside_oracle_forms]but I don't know if it can be added to Forms 6i.
Please mark if it helps. -
Dear all,
has anybody experiences using Oracle Forms6i together with Reports10?
Actually we use Forms and Reports6i. But we have to switch to Reports10. Can anyone tell me how I can call the reports now from my Forms Application?
Actually we start the reports from the application with "'rwrun60...".
Thanks in advance
Yvonnehello,
or this article on metalink
Note:207396.1
How to Run Reports From Forms 9i / 10g Using RUN_REPORT_OBJECT?
regards -
Hi There,
I am new to this forum.You guys do a wonderful job here. Wanted to know if there are any tutorials for learning Oracle forms6i(I mean online tutorials/manuals).I am new to Oracle forms.
Any help appreciated,
Thanks,
NishaKarthik Perumal wrote:
Hi All,
Can you suggest some websites for Oracle 10G tutorials?
Thanks and Regards,
Karthik Perumalhttp://www.lmgtfy.com/?q=Oracle+10G+tutorials -
How to Connect Oracle Forms6i with oracle 10g
Hi,
I'm using oracle 10g database in my xp operating system.. I installed forms6i on my system and edit the tnsname.ora file in the forms installation folder (C:\orant\NET80\ADMIN\tnsnames.ora) with local database tnsnamesora details..
But still I cant connect from forms with local database.. it shows the error ''Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience.''
pls anyone help meYes. Long time ago I knew that this is not supported. See metalink/support if there is now any patch for this.
-
Hi Everyone.
I am using oracle 9i database and using forms 9i . I am trying to store customer name in hindi .I am trying the following:-
1. The prompt of text box should be in hindi.
2. The input text box should be able to accept text in hindi.
3. The data should be stored in oracle db .
4. When I retrive data and print on report it should be in hindi.
I am facing problems in following:-
1. My exiting NLS_CHARACTERSET is WE81508859.. . What should I do it to change to UTF8 ( if I realy need it.)
2. Should I make changes in init.ora or somewhere else.
3. I am using jre 1.4.1.x.
I am using channakay ttf and kruti dev fonts
What I have done yet:-
1.Have 0racle 9i on windows 2000 server and client on same
2. regedit and changed NLS_LANG. Change the value to AMERICAN_AMERICA.UTF8 . For 9idatabse as well as devloper suite.
3. Internet explorer changed the following font Lucida Sans Unicode
4. SELECT * from NLS_DATABASE_PARAMETERS;
5. CREATE TABLE product_descriptions
( product_id NUMBER(6)
, language_id VARCHAR2(3)
, translated_name NVARCHAR2(50)
, translated_description NVARCHAR2(2000)
6. select Encoding from the View pulldown window click Unicode (UTF-8).
7 trying store hindi characters in table product_descriptions using isqlplus
But I am not able to do it.
Please help.
PrashantUnless the OS code page you are running SQL*PLUS from supports Hindi you are not going to be able to display the data via SQL*Plus. iSQLPlus will allow you to display the Hindi data. Typically you set your NLS_LANG character set to match the code page of the OS. For iSQL*PLUS you will probably have to set it to UTF8 to display Hindi.
-
How to call a calander in oracle forms6i
Oracle Forms 6i
Hai All
How to call a calander for a botton.I my form I have a button called process date When i press a button the calander need to display and select a date and i need to the process date. How can i do this Pls tell Me
Any help is higly Appricateable
Thanks & Regards
Srikkanth.MHello,
In the forms 6i the installation contains the demo form. In that demo form you can see the calender example and many more. It is very easy to implement through demo form. Otherwise see the below link its java based.
Calendar utility in Forms?
Also this link...
http://www.oracle.com/technology/sample_code/products/forms/extracted/calendar/readme.html
-Ammad
Edited by: Ammad Ahmed on Apr 19, 2010 9:04 AM
Link added -
Using ActiveX in Oracle Forms6i
Sir I have development an ActiveX in VB for urdu in oracle forms.
The problems I am facing is that it is storing the input efficiently but
when I Query the saved data it is not working,
I got an Error that OLE Object not defined for the current record.
It create the OLE object for a new record and take input & save it
But as I assign the retrieved Data in Post Query, it give error object not
defined.
At the same time it display out when assign with when button pressed.
the code that is working is for saving in the database is at save button (when
button pressed)
DECLARE
VEN_IDp OLE2.OBJ_TYPE;
VEN_NAMEp OLE2.OBJ_TYPE;
ADD1p OLE2.OBJ_TYPE;
CITYp OLE2.OBJ_TYPE;
ZIPCODEp OLE2.OBJ_TYPE;
STATEp OLE2.OBJ_TYPE;
COUNTRYp OLE2.OBJ_TYPE;
PHONE1p OLE2.OBJ_TYPE;
PHONE2p OLE2.OBJ_TYPE;
MOBILEp OLE2.OBJ_TYPE;
FAXp OLE2.OBJ_TYPE;
ECOMMENTSp OLE2.OBJ_TYPE;
n1 NUMBER;
V1 VARCHAR2(255);
V2 VARCHAR2(255);
V3 VARCHAR2(255);
V4 VARCHAR2(255);
V5 VARCHAR2(255);
V6 VARCHAR2(255);
V7 VARCHAR2(255);
V8 VARCHAR2(255);
V9 VARCHAR2(255);
V10 VARCHAR2(255);
V11 VARCHAR2(255);
V12 VARCHAR2(255);
BEGIN
--creating pointers to the activeX's
VEN_IDp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_IDU');
VEN_NAMEp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_NAMEU');
ADD1p := FORMS_OLE.GET_INTERFACE_POINTER('ADD1U');
CITYp := FORMS_OLE.GET_INTERFACE_POINTER('CITYU');
ZIPCODEp := FORMS_OLE.GET_INTERFACE_POINTER('ZIPCODEU');
STATEp := FORMS_OLE.GET_INTERFACE_POINTER('STATEU');
COUNTRYp := FORMS_OLE.GET_INTERFACE_POINTER('COUNTRYU');
PHONE1p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE1U');
PHONE2p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE2U');
MOBILEp := FORMS_OLE.GET_INTERFACE_POINTER('MOBILEU');
FAXp := FORMS_OLE.GET_INTERFACE_POINTER('FAXU');
ECOMMENTSp := FORMS_OLE.GET_INTERFACE_POINTER('ECOMMENTSU');
--getting new value returned by the ActiveX
N1 :=Project1_UserControl1.getUrduText(VEN_IDp);
V2 :=Project1_UserControl1.getUrduText(VEN_NAMEp);
V3 :=Project1_UserControl1.getUrduText(ADD1p);
V4 :=Project1_UserControl1.getUrduText(CITYp);
V5 :=Project1_UserControl1.getUrduText(ZIPCODEp);
V6 :=Project1_UserControl1.getUrduText(STATEp);
V7 :=Project1_UserControl1.getUrduText(COUNTRYp);
V8 :=Project1_UserControl1.getUrduText(PHONE1p);
V9 :=Project1_UserControl1.getUrduText(PHONE2p);
V10 :=Project1_UserControl1.getUrduText(MOBILEp);
V11 :=Project1_UserControl1.getUrduText(FAXp);
V12 :=Project1_UserControl1.getUrduText(ECOMMENTSp);
assigning the value to database item for saving
:VEN_ID := N1;
:VEN_NAME :=V2;
:ADD1 := V3;
:CITY :=V4;
:ZIPCODE :=V5;
:STATE :=V6;
:COUNTRY:=V7;
:PHONE1 :=V8;
:PHONE2 :=V9;
:MOBILE :=V10;
:FAX :=V11;
:ECOMMENTS :=V12;
END;
-- It save the record successfully
and the code not working at (post query OR timer expired created at post query)
It query the data from database and display it in the textitem but I want to
assign it to ActiveX for Urdu Display
(the activeX display Urdu for assiged value in button pressed case)
DECLARE
VEN_IDp OLE2.OBJ_TYPE;
VEN_NAMEp OLE2.OBJ_TYPE;
ADD1p OLE2.OBJ_TYPE;
CITYp OLE2.OBJ_TYPE;
ZIPCODEp OLE2.OBJ_TYPE;
STATEp OLE2.OBJ_TYPE;
COUNTRYp OLE2.OBJ_TYPE;
PHONE1p OLE2.OBJ_TYPE;
PHONE2p OLE2.OBJ_TYPE;
MOBILEp OLE2.OBJ_TYPE;
FAXp OLE2.OBJ_TYPE;
ECOMMENTSp OLE2.OBJ_TYPE;
V1 VARCHAR2(255);
V2 VARCHAR2(255);
V3 VARCHAR2(255);
V4 VARCHAR2(255);
V5 VARCHAR2(255);
V6 VARCHAR2(255);
V7 VARCHAR2(255);
V8 VARCHAR2(255);
V9 VARCHAR2(255);
V10 VARCHAR2(255);
V11 VARCHAR2(255);
V12 VARCHAR2(255);
str1 VARCHAR2(255);
str2 VARCHAR2(255);
str3 VARCHAR2(255);
str4 VARCHAR2(255);
str5 VARCHAR2(255);
str6 VARCHAR2(255);
str7 VARCHAR2(255);
str8 VARCHAR2(255);
str9 VARCHAR2(255);
str10 VARCHAR2(255);
str11 VARCHAR2(255);
str12 VARCHAR2(255);
BEGIN
SYNCHRONIZE;
VEN_IDp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_IDU');
VEN_NAMEp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_NAMEU');
ADD1p := FORMS_OLE.GET_INTERFACE_POINTER('ADD1U');
CITYp := FORMS_OLE.GET_INTERFACE_POINTER('CITYU');
ZIPCODEp := FORMS_OLE.GET_INTERFACE_POINTER('ZIPCODEU');
STATEp := FORMS_OLE.GET_INTERFACE_POINTER('STATEU');
COUNTRYp := FORMS_OLE.GET_INTERFACE_POINTER('COUNTRYU');
PHONE1p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE1U');
PHONE2p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE2U');
MOBILEp := FORMS_OLE.GET_INTERFACE_POINTER('MOBILEU');
FAXp := FORMS_OLE.GET_INTERFACE_POINTER('FAXU');
ECOMMENTSp := FORMS_OLE.GET_INTERFACE_POINTER('ECOMMENTSU');
--function setUrduText(interface oleobj,text in out varchar2) Return varchar2
This function Displays Urdu when value is assigned in when button pressed event
str1 :=Project1_UserControl1.setUrduText(VEN_IDp,:VENDOR.VEN_ID);
str2 :=Project1_UserControl1.setUrduText(VEN_NAMEp,:VENDOR.VEN_NAME);
str3 :=Project1_UserControl1.setUrduText(ADD1p,:VENDOR.ADD1);
str4 :=Project1_UserControl1.setUrduText(CITYp,:VENDOR.CITY);
str5 :=Project1_UserControl1.setUrduText(ZIPCODEp,:VENDOR.ZIPCODE);
str6 :=Project1_UserControl1.setUrduText(STATEp,:VENDOR.STATE);
str7 :=Project1_UserControl1.setUrduText(COUNTRYp,:VENDOR.COUNTRY);
str8 :=Project1_UserControl1.setUrduText(PHONE1p,:VENDOR.PHONE1);
str9 :=Project1_UserControl1.setUrduText(PHONE2p,:VENDOR.PHONE2);
str10 :=Project1_UserControl1.setUrduText(MOBILEp,:VENDOR.MOBILE);
str11 :=Project1_UserControl1.setUrduText(FAXp,:VENDOR.FAX);
str12 :=Project1_UserControl1.setUrduText
END;
I am not getting the point that why the Error OLE object not defined occur in
display case where as in new record the object is activited on new record
instane by itself but not in post query
I am working on application of a library with Urdu data and at last step Iam
facing the problem above PLs guide me
Thanks in advance
nullIgnore my previous post. I misread the question.
There is no support for using ActiveX in JDeveloper. What you would need to do is to wrap your activex in a Java class and then you'd be able to use that java class in your project. There may be some facilities available somewhere on the internet that would help you doing that. I just don't know of any.
Regards,
Michel -
I am using oracle Forms Developer I tool from past 6 months with out any problem on Windows XP machine but for some reason all of the sudden and for no reason I am not able to open any NEW or exisisting Forms .
When I try to open a form I see Forms Designer starts and it goes no where from that point before it use to ask me if I want to open form or to create a new form ...How can i fix this ?
Note:If i try to open the form again its says form already opened ..
NKone dummy fix is to back up your form source files, then de-install your forms builder and re-install it. some files are polluted for possible window patch or other activities.
-
How to create a sequence in oracle forms6i
Oracle forms 6i
Hai All
I am working in leave application entry so i need to create a sequence for giving a unique number for each entry
Pls tell me the steps how to created and how to call the sequence from database
Thanks in Advance
Srikkanth.mHi,
Create sequence <sequence_name>
Start with <number>
increment by <number>
in database
eg:- create sequence test_seq
start with 1
increment by 1;
in forms
you can assign value in pre-insert trigger
Declare
cursor cur_seq is
select test_seq.nextval from dual;
begin
open cur_seq;
fetch cur_seq into :item_key ; /* :item_key give name of ur primary key field*/
close cur_seq;
end;
Maybe you are looking for
-
if you get i pad 2 with out 3g installed in it can you add it externally by an adapter later on to use it att or othe rcarrier or you have to sell it and buy one that has a 3g instatted on it
-
Since installing latest software on my iPhone, I've lost all my music. Help!
I've tried syncing several more times but always the same - no content in the music app/icon. Previously, my music was on my iPod and, when I got my iPhone, iTunes downloaded all my music onto the iPhone and it resided in an "app" with iPod as the ic
-
Questions about MeetingPlace 8.5?
Please pardon for the questions. I am still new to MeetingPlace. 1. I don't know if I understood Cisco documents about MP but is a Webserver needed when you need to integrate with MS Outlook or Lotus Notes for email notification and calendaring funct
-
Hi I am kind of new to Java etc I would like to know if it is possible to edit a .class file if you don't have the .java file? If this is possible do I require any software etc? Thanks in advance for your help James
-
Hello, I am using EPM BPC Excel Add-in 10 SP 15 Patch 1 for reporting with Office 2010. However, when I am either in report editor or updating the formatting for a report, the fields in the Member tabs are condensed to the point that I cannot read th