Multilingual Applicaion(runtime) in forms 9i
I am developing form in Oracle forms 9i release 2.0.
Operating system : Windows 2000 Professinal English version
Database is Oracle 9i with unicode
nls_lang parameter is set to "American_America.UTF8"
Form is run with OC4J
when designing form , create Label type some text & set font to
display regional language(hindi) , it displays it properly there.
But when run form , in Internet Explorer , it shows that text in English Only.
- Vijay Desai
No, there is no built in mechanism for re-laying out the screen at runtime. That does not stop you from writing your own though. You have pretty much everything you need in the various set__Property built-ins to change field position, sizes and fonts.
Similar Messages
-
How to hide the window of Runtime Parameter Form?
I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
Please help me!When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO'); -
How to find the cause ofan error at runtime in forms (10g)
hi
can u please tell me how to find the cause ofan error at runtime.
in forms 6i, the shortcut key is shift+f1
i needthe shotcut key in 10g forms.
thanxor just look in you menu help, -- last error or you can find the list of shortcut keys there ...
\Erwin -
Reports-Runtime Parameter Form
hi!
I made a report which contains quite a lot of data; so I
also created a user parameter for the runtime parameter form, so
the user can select one value so that the amount of data is
minimized; the user parameter is based on a select statement;
now my question: the way it is now the user can only make one
selection, how can he see all records and is not forced to select
a single value?
thx, michaela
nullMichaela (guest) wrote:
: hi!
: I made a report which contains quite a lot of data; so I
: also created a user parameter for the runtime parameter form,
so
: the user can select one value so that the amount of data is
: minimized; the user parameter is based on a select statement;
: now my question: the way it is now the user can only make one
: selection, how can he see all records and is not forced to
select
: a single value?
: thx, michaela
Hi Michaela,
I Understood that you have created user parameter based on
select statement which will display list of values in List item
in the Runtime Parameter form. User can select any one value
from the list & display the records for selected value in the
parameter form. But your question looks like user should have
facility to select all the value in the list from the runtime
parameter form.
Example : Display list of deptno in the Runtime parameter form.
If user selects any one deptno, display employee
details for the selected deptno. Also user should
have option of selecting records for all the dept.
1. Create user parameter P_DEPTNO based on following select
statement.
Select deptno from dept
Union
Select 'ALL' from Dual
2. Create the Query for the report as
Select *
from Emp
Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
So user will have option of specifying condition to
select all the records for all the deptno as well as user
can specify particular deptno.
I hope this may help you to solve your problem. Pls let me
know whether this helps you or not.
Mani/-
null -
Reports-Runtime Parameter Form; another question
hi!
I would like to implement 2 user parameters in the runtime
parameter form which depend on each other: with the first one you
can select a special ressort and depending on the selection you
made here you can select some keyword groups with the second one;
but I don't know how the select statement for the second user
parameter should look like, because it is not allowed to use
'Bindevariablen' (sorry, don't know what they are called in
english; this are the ones with the : in front of them):
here is what I tried to do:
parameter: P_1
select rs_id, rs_name from tb_ressort union select 99999, 'alle
Ressorts' from dual order by 1
parameter: P_2
select kwg_id, kwg_group from tb_keyword_group union select
99999, 'ALL' from dual
and here I wanted to add a where clause: where rs_id = :P_1
but this doesn't work
Any other ideas?
thx in advance
nullMichaela (guest) wrote:
: hi!
: I would like to implement 2 user parameters in the runtime
: parameter form which depend on each other: with the first one
you
: can select a special ressort and depending on the selection you
: made here you can select some keyword groups with the second
one;
: but I don't know how the select statement for the second user
: parameter should look like, because it is not allowed to use
: 'Bindevariablen' (sorry, don't know what they are called in
: english; this are the ones with the : in front of them):
: here is what I tried to do:
: parameter: P_1
: select rs_id, rs_name from tb_ressort union select 99999, 'alle
: Ressorts' from dual order by 1
: parameter: P_2
: select kwg_id, kwg_group from tb_keyword_group union select
: 99999, 'ALL' from dual
: and here I wanted to add a where clause: where rs_id = :P_1
: but this doesn't work
: Any other ideas?
: thx in advance
Hi Michaela,
I think this will generally not work in reports parameter form;
the parameter values are available first when the report is
started, and the first point to reference them is in the
after-parameter-form trigger. I think you get the message
from the report builder 'REP-0781: Bind variables not allowed in
the Select statement'.
The only idea I have is to write a parameter form with Forms,
with two LOV's attached to two items wich CAN reference each
other. Then use add_parameter and run_product to start your
report. This seems to be more complicated then using only
Reports, but it isn't and it works.
peter
null -
Customizing Runtime Parameter Form
Hi
I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
1) I've created a report definition file access through portal and successfully run the report.
2) I've copied the run link which is something like -
PORTAL_DEMO.TEST_REPORT.show_tabpage
3) I've created a dynamic link such as -
http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196Hi George
After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
Thanks
the Oracle Reports team -
Invoking runtime parameter form from Oracle forms 10g.
Hi all,
I am using Oracle 10g DS.
I have cretaed a form containing a button. when i pressed that button
the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
can anybody helpout....
thanks in adv.
Venkat.copy the question to the report forum as well :
Reports -
I am getting ORA-01007 error at runtime in forms
Hello All,
Good Mornig!
I am new to this group.
I have some problems with oracle forms 9i. I am not able to findout the correct reason
for the below problem.
Please read information given below and give me the exact reason what has happend,
1) We have 2 different schemas,one user_samp1 and other user_real .
When we compile the forms against user_samp1 schema and deploy in
production(user_real), we are getting runtime error ie ORA-01007.
When we debug the problem ,we found that the error was with a cursor which
was taking the data using * . ie 'cursor a is select * from table1'. When the cursor is
opened, we were getting this error.
But when we replace * with columns ( ie 'cursor a is select col1,col2 from table1' )
Or the form is compiled against production schema, this error is not coming.
The structure in the two schemas is as below....
user_samp1 ::
table1 ::
col1 number
col2 number
col3 char
production
table1 ::
col1 number
col3 char
col2 number
I am giving the structure because the order of columns is different, when you describe
in those two different schemas.
We are using forms 9i (and oracle 9i) and these forms are migrated from forms 6i.
( Same problem with 10g forms )
2) The below statement works even the col2 column is not present in table2 ,
Select col1 from table1 where col2 in (select col2 from table2);
But when you use alias then the above query gives error.
( This query might be taking col2 in table1 as value for the col2 present in
subquery for table2. But is this not confusing)
3)Is there anyway to findout all the objects(Oracle Objects Used in forms) present in a form. (eg For doing impact)
Thanks in Advance.
With Regards,
Sreekanth BabuCause: A reference was made to a variable not listed in the SELECT clause. In
OCI, this can occur if the number passed for the position parameter is less than
one or greater than the number of variables in the SELECT clause in any of the
following calls: DESCRIBE, NAME, or DEFINE. In SQL*Forms or SQL*Report,
specifying more variables in an INTO clause than in the SELECT clause also
causes this error.
Action: Determine which of the problems listed caused the problem and take
appropriate action. -
Protect Password In Runtime of Forms 6i
Hi,
We have a requirement where in which we wouldnt want to give the userid and password in Runtime shortcut. Our customers feel that its a compromise to the security.
We are trying to start the runtime by a bat file
i.e start ifrun60.exe module=a.fmx followed by uid/pwd@dbstring.
Here we would like to make this uid/pwd@dbstring to be stored in a file and the input of the same be passed to the bat file containing the above statement.
We are stuck in this. Any help in this regard will be highly appreciated.
Thanks in advanceThanks again. This is the work around we have given them now :) not a good one really, as we had to hardcode the userid and passwords either in form or in DB level.
I am just thinking through this option as said above.
"uid/pwd@connstring" will be stored in a network file and the contents of the same passed as the parameter to the batch script in which i am calling the forms 6i runtime.
A Example is shown below.
rem set environmental variables
set forms60_path=c:\
set reports60_path=c:\
set path=%path%;c:\;
start ifrun60.exe module=EMP_DEPT_JOIN.fmx USERID=readfromfile.txt
******************************************************************************************** -
Forms runtime or forms server??
hi all...
just a quick question on using pluggable java components with forms.
do they work within the forms runtime environment or only with the forms server??
thanks
Takisso, is there any java i can use with forms from the forms runtime environment??
thanks...
Takis -
Change user on runtime in forms 10g
Dear all,
I want to switch user in oracle forms 10g runtime.
for example I have three user "usr1", "usr2", "usr3" and one main user "main_system"
In forms i have four button i.e bt1,bt2,bt3,bt4
Currently when user access the forms user is "main_system"
If user press button "bt1" then forms connect with "us1".
If user press button "bt2" then forms connect with "us2".
If user press button "bt3" then forms connect with "us3".
Finally user press button "bt4" then forms connect with "main_system"
I hope you will help me and thanks in advance
Regards,
Saeed ul haqHi user11957950
Pls share us the code to inspect the problem ...
did u try using the alias of the data base... ?
the following is an example that can help....
BEGIN
:global.quit := 'FALSE';
:global.v_attempt := 0;
END;
WHEN-WINDOW-ACTIVATED-TRIGGER
--MAXIMIZE WINDOWS
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
SET_WINDOW_PROPERTY('LOGIN_FORM', WINDOW_STATE, MAXIMIZE);
IF :global.quit='TRUE' THEN
Log_on;
END IF;
ON-LOGON TRIGGER
logon(get_application_property(USERNAME),
get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING), FALSE);
if not form_success then
:global.bad := 1;
raise form_trigger_failure;
end if;
LOGON BUTTON CODE
WHEN-BUTTON-PRESSED TRIGGER
if :LOGIN_BLOCK.USERNAME is null then
message('User must be entered !');
go_item('LOGIN_BLOCK.USERNAME');
return;
end if;
if :LOGIN_BLOCK.PASS_WORD is null then
MESSAGE('Password must be entered !');
go_item('LOGIN_BLOCK.PASS_WORD');
return;
end if;
set_application_property(CURSOR_STYLE,'BUSY');
:global.bad := 0;
if :LOGIN_BLOCK.CONNECT_STRING is null then
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD, FALSE);
else
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD||'@'||:LOGIN_BLOCK.CONNECT_STRING, FALSE);
end if;
if :global.bad = 0 and form_success then
set_application_property(CURSOR_STYLE,'DEFAULT');
open_form('MAIN_MENU');
ELSE
:global.v_attempt := :global.v_attempt + 1;
set_application_property(CURSOR_STYLE,'DEFAULT');
if :global.v_attempt < 3 then
MESSAGE('Username/Password was invalid. Please re-enter !');
go_item('LOGIN_BLOCK.USERNAME');
else
MESSAGE('Three Invalid Login Attempts. Account Locked');
exit_form(no_validate);
end if;
end if;
CANCEL BUTTON
WHEN-BUTTON-PRESSED TRIGGER
BEGIN
EXIT_FORM(no_validate);
END;
PROGRAM UNIT Log_on
PROCEDURE Log_on IS
BEGIN
:global.quit := 'TRUE';
exit_form(no_validate);
END;
if this didn't solve ur problem pls tell us what error did u get pls tell us the details...!
Hope this helps...
Regards,
Abdetu... -
How I can find out all menu item name at runtime from forms 9i ?
Hellow all
we can find out all the block name and item name in forms at runtime.
but
can I find out all the menu item at runtime without knowing the name of menu item.
I want disable some menu item at runtime.
From
Chirag PatelHi Frank
I hope the solution from u
please.......
are u got my problem ?
from
Chirag Patel -
How to find Oracle form version number at runtime in Form 6 webform
hi ,
i developing form at offshore , form server is running at somewhere in UK.
i am running form from development PC , can i find out exact form version number at runtime with some code?
Thank uBeginning with Forms 6i you can use GET_APPLICATION_PROPERTY(VERSION).
-
Setting query datasource at runtime for FORM Datablock
Hello all,
we have below requirement -
the Form datablock is build on a customized table. we need to populate some of the fields of the form by writing a view which joins tables across variousl modules. the form data will be queried by giving po number in query find window. then the rest of the fields are entered from the form front end and saved to the DB Table. we want to query the new po numbers from the view from the query find window. where as the existing po numbers will be queried from the form datablock table only... for this i wrote the below pre_query trigger at datablock level.
declare
po_num number;
BEGIN
:parameter.G_query_find := 'TRUE' ;
select count(*) into po_num from ICS_PO_IBOT_ICOT_REP where vendor_po_num = nvl(:QUERY_FIND.PO_NUMBER, vendor_po_num);
if po_num > 0 then
COPY(:QUERY_FIND.PO_NUMBER, 'ICS_PO_IBOT_ICOT_REP.VENDOR_PO_NUM');
else
set_block_property ('ICS_PO_IBOT_ICOT_REP', QUERY_DATA_SOURCE_NAME, '(select * from ICS_PO_IBOT_ICOT_REP_VIEW where
VENDOR_PO_NUM = :QUERY_FIND.PO_NUMBER)');
end if;
:parameter.G_query_find := 'FALSE';
end;
here ICS_PO_IBOT_ICOT_REP - DB TABLE
ICS_PO_IBOT_ICOT_REP_VIEW - view
condition is checking for existing pos in table.....
The above form while running from oracle apps, entering a New po number in query find window gives following error -
ORA-01008: not all variables are bound.
whereas for old pos it works correctly......................Please help on this...
on more analysis from help-diagnostic-system - last query it gives the below code
SELECT LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN,CREATION_DATE,CREATED_BY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,ATTRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE12,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,ATTRIBUTE16,ATTRIBUTE17,ATTRIBUTE18,ATTRIBUTE19,ATTRIBUTE20,ATTRIBUTE21,ATTRIBUTE22,ATTRIBUTE23,ATTRIBUTE24,ATTRIBUTE25,ATTRIBUTE26,ATTRIBUTE27,ATTRIBUTE28,ATTRIBUTE29,ATTRIBUTE30,ORG_ID,CONSULTANT_ID,CONSULTANT_NAME,VENDOR_NAME,VENDOR_CONTACT_NUM,VENDOR_EMAIL,VENDOR_DIVERSITY_STATUS,CONSULTANT_INFO,MINORITY_STATUS,REMARK,CBC_DATE,ACKN_DATE,IBM_PO,PO_STATUS,SOW_NUMBER,PO_TYPE,START_DATE_ON_PO,IBM_PO_ISSUE_DT,IBM_PO_ICS_RCV_DT,IBM_PO_CHANGE_DT,SKILL_LEVEL,REQUESTER,REQ_CONT_NO,REQ_EMAIL_ID,BUYER,BUYER_CONT_NO,BUYER_EMAIL_ID,TRANS_STATUS,ST_BILL_RATE,ST_HOURS,OT_BILL_RATE,OT_HOURS,EXPENSES,TOTAL,REGION,AREA,LOCATION,STATE,JOB_ROLE,JOB_SKILL,LOB,CSA_REQ_NO,CSA_SUBMIT_DT,CLIENT,WAGES,EXEMPT,BENEFIT_STATUS,US_NATIONAL,VISA_STATUS,MATRIX_PRICE,SCORP_C2C_W2H,REFERAL_STATUS,REBATE_STATUS,REBATE_PERCENTAGE,REBATE_DESC,CSA_FEE_STATUS,CSA_PERCENTAGE,ICS_FEE,MARK_UP,ADD_INFO,VENDOR_PO_NUM,CCF_CREATED_DATE,CCF_MODIFIED_DATE,DOJ,DOT,DATE_OF_MODIFICATION_DOT,ST_PAY_RATE,ST_BURDEN_RATE,OT_PAY_RATE,OT_BURDEN_RATE,RATE_DESC,SALES_PERSON,RECRUITER,PROJECT,ACCRUAL_REVERSAL,WEEK_1,WEEK_2,WEEK_3,WEEK_4,WEEK_5,ESTIMATE,ACCRUALS,TOTAL_HOURS,BILLABLE_AMOUNT,TOTAL_COST,GM_AMOUNT,GM_PERCENTAGE,INVOICE_NUMBER,INVOICE_AMOUNT,SUBMITTED_ON,RENEWAL_PO,REJECTED_ON,RESUBMITTED_ON FROM (select * from ICS_PO_IBOT_ICOT_REP_VIEW where
VENDOR_PO_NUM = :QUERY_FIND.PO_NUMBER)
please suggest what am i missing?????????????????????
Thanks,
Samhere are the answers to your questions-
How do you update record?
Do you have any ON-UPDATE, POST-UPDATE, PRE-UPDATE triggers on this block?
Do you have any database triggers on the table?
What is DML Data Target Type property of this block?
it was not required for me to write any ON-UPDATE, POST-UPDATE, PRE-UPDATE triggers on this block to update record. these are done or taken care off automatically. no database trigger is associated with the table. DML data target type is table.
also the block has Query data source type as Table only. and the query data source name is the db table ie ICS_PO_IBOT_ICOT_REP. so what u suggest now? if i simply click on new button and enter some data onto form and save it it is inserting record onto db table. so why cant it insert the record in current scenario when a new PO is queried from the view. Please help on this where i am missing................. -
How to know previous navigation item during runtime in Forms
Hi,
How can one know the previous navigation item in oracle forms.
Scenario:
Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
On the Find Person window --> Query a Person
On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
Hence my question is how to know if the previous item is DFF or not.
Thanks in Advance.
VishnuHi,
How can one know the previous navigation item in oracle forms.
Scenario:
Navigation: US Super HRMS Manager --> People --> Enter and Maintain.
On the Find Person window --> Query a Person
On the People Window, there is an Assignment Button. When clicked, it will open new window "Assignment".
At this point 'WHEN-NEW-ITEM-INSTANCE' is fired for the item 'ASSGT. ORGANIZATION_NAME'.
There is DFF on this window and when DFF is closed by pressing OK button, 'WHEN-NEW-ITEM-INSTANCE' is fired again for the item 'ASSGT. ORGANIZATION_NAME'.
Hence my question is how to know if the previous item is DFF or not.
Thanks in Advance.
Vishnu
Maybe you are looking for
-
Nav bar and headers not showing up in IE9
After I select the ActivX option "allow blocked content" the navigation bar and white headlines disappear in the IE9 browser. Any thoughts or suggestions? Thank you! www.moxiespeak.com/indextest
-
A limitation to columns in Numbers
I have a simple 2 column table with dates in one, and dollar values in another. I made a simple bar graph of this as well. X axis is time (dates) y axis is value ($ amounts) When I try to see the graph, no matter how I size it, I am only able to g
-
Hi, I am getting a following exception while applying an xsl transformation to an xml document oracle.xml.parser.v2.XPathException: Variable not defined: 'datafound' What could be the reason and solution for this error?
-
CRM Sales Contract: No upload to R/3
Hi, I have configured a sales contract in CRM that I need to replicate into CRM. The same sales contract doc type exists in R/3, as the same item categories and all that. It happens that when I save the contract without errors in CRM, the system does
-
I cannot download any videos due to this message: blocked plug-in play
I cannot download any videos due to this message: blocked plug-in play...Help!! Please.