Integrating BI Beans into Forms 10g
Hi all,
<br><br>
We have our application built using Oracle Forms and Reports 10g R2. I am thinking that BI Beans would highly inhance the reports in our application.
<br><br>
If my idea is true, <b>is it possible to use Oracle BI Beans in Forms 10g?</b> Any guideline or related link would be highly appreciated.
<br><br>
Thanks.
hello,
i use the formsgraph.jar into my test_forms,the data is display ok,but the Y axis scale i didn't solute it what i want to display.
for example:
7|
6|
5|
4|
3|
2|
1|
0|_______________________________________________________________
0 1 2 3 4 5 6
my problem is that how i can define the Y axis what i want it to display.that only display 0-2-4-6-8-10-12 if recompile the java codes ,where i can modify???
please help me !
thanks!!
Similar Messages
-
MS Word smart quotes don't paste the same into Forms 10g as Forms 6i
Hi all,
I have users who write text in Microsoft Word and then cut-and-paste it into Oracle Forms.
After some prodding by the developers, the users have switched to using the 10G version of their application instead of the 6i version.
As a background you should know that Microsoft Word uses Smart Quotes by default, which you can turn off. Smart Quotes are different ascii characters than the ascii 39 single quote and ascii 34 double quote.
When the users cut-and-paste the Microsoft Word text into the Forms 10G field, the single apostrophe smart quote does not convert to ascii 39. I wouldn't be surprised about this except that in Forms 6i the form does convert the single apostrophe smart quote into ascii 39.
So if the users use the 6i Form they can cut-and-paste and the form/database has the character as ascii 39. If the users paste into Forms 10G then the database shows the character as ascii 191 (hex 0xBF), which is an inverted question mark.
Does anyone know of any settings in Forms 10g to revert back to 6i functionality for this?
Thanks much,
TroyI am afraid that Jan is right.
And this might be a bit of a hassle, since it might affect your forms. If you are using some standard Windows lettertype in your forms, though, you should be OK.
Bare in mind, that you the NLS_LANG.characterset will have to be compatible between database and forms (the latter at both compiletime and runtime).
Good Luck!
Remco -
Implementing java beans in forms 10g [Problem]
Hi All,
I am trying to implement the java bean in the forms 10g
I performed the following steps, but no luck.. Could anybody please help me in this?
I have created a simple java class
package mypackage1;
public class MyClass
public String GetString(String a)
return a;
Make a jar myjar.jar out of it.
Copy this jar files in $ORACLE_HOME/forms/java directory
and set the archive.jini parameter in formsweb.cfg to
archive_jini=frmall_jinit.jar,Myjar.jar
Created a simple form having one button, one textbox
Set the implementation class property of text item to mypackage1.MyClass
on button pressed trigger, I wrote
set_custom_property('block2.text_item4',1,'GetString','Hello World');
Ideally, on button pressed, it should show the text "Hello World" in the etxt box. But on button pressed nothing is happening and in java console on error is appearing.
My java console output is
Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
Please, any help appreciated !!Hi there
The is plenty wrong with this code:
1. MyClass is not extending VBean
2. There is no public boolean setProperty(ID ID, Object args) method and no property IDs have been defined so set_custom_property('block2.text_item4',1,'GetString','Hello World'); will not execute anything
3. If you're hoping to return values back from the bean, you need to define a custom event and associated ID.
If you're just looking for some java code to return values in a similar manner as normal Oracle functions then you may want to consider using forms java stored procedures which are based on static java methods. Beans are really more for interaction type stuff with other applications.
But any way if you want to do it this way (i.e. using beans) then at very least you class should look something like (Note, I have not compiled is so there may be a few errors):
package mypackage1;
import oracle.forms.handler.IHandler;
import oracle.forms.ui.CustomEvent;
import oracle.forms.properties.ID;
import oracle.forms.ui.VBean;
import oracle.forms.engine.Main;
import oracle.forms.engine.*;
import oracle.forms.handler.*;
public class MyClass extends VBean
// initiating event id
protected static final ID pgetString = ID.registerProperty("GetString");
// return value id
private static final ID preturnValue = ID.registerProperty("returnValue");
// return event id
protected static final ID preturn = ID.registerProperty("returnEvent");
static IHandler mHandler;
public String GetString(String a)
// may do some string manipulation here.
return a;
public boolean setProperty(ID ID, Object args)
if (_ID== pgetString)
if (_args instanceof String)
String myArg = (String)_args;
mHandler.setProperty(preturnValue,getString(myArg));
CustomEvent ce = new CustomEvent(mHandler, preturn);
dispatchCustomEvent(ce);
Keep your button as is and then to return the value back into forms place a WHEN-CUSTOM-ITEM-EVENT trigger on the bean area with something like this:
DECLARE
BeanValListHd1 PARAMLIST;
ParamType NUMBER;
EvenName Varchar2(20);
CurrentValue Varchar2(2000);
BEGIN
BeanValListHd1 := get_parameter_list(:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
IF :SYSTEM.Custom_Item_Event = 'returnEvent' THEN
IF iD_NULL(BeanValListHd1) THEN
MESSAGE('NO PARAMETER FOUND FOUND');
ELSE
GET_PARAMETER_ATTR(BeanValListHd1,'returnValue',ParamType,CurrentValue);
MESSAGE('IN CUSTOM EVENT THE STRING RETURNED IS '|| CurrentValue);
END IF;
ELSE
MESSAGE('no value');
END IF;
END;
hope this helps
Q -
created a login form and needed some decoration on a background...
seems i browse all over the internet and it says to attached an image into form by using this ;
read_image_file('D:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Blue hills.jpg','jpg','image13');
but i wonder where to put this code...
newbie here plz help
m.f.nasirhi
if u want to import image then go to edit/import/image, but if u want to read image then try something like this.
when-new-form-instance trigger.
read_image_file('image.gif','URL','block.image');sarah -
Read reportsserver - name from registry or from system into forms 10g
Hi
I want to read the entry of reportsserver from registry or from the system into forms 10 g because the same form is testing and running on different hosts/ AS
work on XP
how to do ?
thank you
NorbertAdd a new environment variable in your default.env file (or whichever .env your config is using):
MY_REPORT_SERVER_NAME=REP_MY_IAS_SERVER
You can then use:
declare
var varchar2(2000);
begin
tool_env.Getvar('MY_REPORT_SERVER_NAME', var);
message(var);message(var);
end;
You don't need Webutil to do this.
Richard -
FRM-41211 Integration Error SSL - Oracle Forms 10g
Hi all.
I have FRM-41211 Integration Error SSL Failure Running Another Product error while calling a report from web form in oracleAS 10g.
I have problem with RUN_REPORT_OBJECT in web forms in this code:
=====================================================
DECLARE
BEGIN
repid := find_report_object('MODULE21');
v_rep := RUN_REPORT_OBJECT(repid);
-- jobid := substr(v_rep, length('rep60_WS70004')+2, length(v_rep));
-- web.show_document('/reports/rwservlet/getjobid'||jobid||'?server=rep3945','_blank');
END;
=====================================================
I have error: FRM-41211 SSL integration error .....
OracleAS 10g server began on Windows XP SP2.
Do you help me ?
Very thanks !!Do you help me ?
Thanks. -
Integration problem between oracle forms 10g and oracle report 10g
Hi!
I've got any error message "Unable to connect to the report server "server name"" when a oracle report is run using run_report_object in the oracle form under oracle form developer 10g. Please advise any settings are required in order to run the report. Thank you very much.
Best Regards
PingaThe report server is running as the report can be run via URL in the brower. However, it prompts out the error when it is called by oracle form using the run_report_object.
-
Bean in forms 10g is not displaying
Hi All,
I have created a simple java class
package mypackage1;
public class MyClass
public String GetString(String a)
return a;
Make a jar myjar.jar out of it.
Copy this jar files in $ORACLE_HOME/forms/java directory
and set the archive.jini parameter in formsweb.cfg to
archive_jini=frmall_jinit.jar,Myjar.jar
Created a simple form having one button, one textbox
Set the implementation class property of text item to mypackage1.MyClass
on button pressed trigger, I wrote
set_custom_property('block2.text_item4',1,'GetString','Hello World');
Ideally, on button pressed, it should show the text "Hello World" in the text box. But on button pressed nothing is happening and in java console no error is appearing.
My java console output is
Loading http://asst104253:8889/forms/java/frmall_jinit.jar from JAR cache
Loading http://asst104253:8889/forms/java/Myjar.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
Could anyone please tell me what I am doing wrong?? And how do I achieve this functionality??
Please, any help appreciated !!Please anybody help !!
-
How to replace the forms6i menu parameter in forms 10g after migration
Hai,
We have forms6i application and we are going to migrate forms6i into forms 10g .The forms 6i have the menu userdefine parameter.But forms 10g don't have the option. so please send me the suggesstion what we can do .Is there any alternative way.How to bring the same funtionality in forms 10g after the migration.pls reply me
THANKSWe had the same problem - you could develop a new form just to accept the necessary user input, but that might be overkill. We used Forms Editors, displaying them with an appropriate startup text e.g. 'Parameter1='. The user then types in the parameter, then we check the new Editor text and pull out the info we need.
-
ICONS are not appearing in oracle forms 10g
Dear All,
Good Morning.
I am using oracle 10g forms.
I had my old application in forms6i. I migrated it into forms 10g.
Application is running fine no function problem there is.
But icons are appeared into button.
Please tell me way, how can i configure for icons.The above mentioned thread is talking about icons not appearing in the Forms builder and not at runtime. I don't think it will help you.
In Webforms displaying "Icons" it's a little bit different than client/server, Webforms use .gif files as icons and not .ico files and these files should be Jarred in a .Jar file and put in a directory where the JVM can reach.
Follow the instruction in the [url http://www.oracle.com/technology/products/forms/pdf/webicons.pdf]Webicons file in page 3 under the "Don't want to learn about the details, Just get started!" it's very easy and fun.
Tony -
Gurus,
I have a problem. I want to import MS-Excel sheet into forms 10g, any builts to be used ?? what's the procedure ?
Can anyone help me
RegardsWell, the application should come from the client machine rather than serverThe application runs from the server (as it is web-forms), but the UI runs and the client.
WEBUTIL is designed to do things on the client. So CLIENT_OLE is executed on the client-pc. -
We are currently upgrading our Oracle Forms 6i applications into Forms 10g. During this process, we have encountered a screen flashing issue.
The application is coded in such a way that there is one form that remains open and it keeps calling other forms one after the other in sequence depending upon the application flow selected by the user.
While doing this, when the application moves from one "Called Form" to another, the "Base Form" that was open, appears completely because the next "Called Form" is being loaded. This, to the user, will appear as a screen flash and distract/disturb them.
Note: This application was originally coded in 2.3 around 20 years ago and has been migrated since then without any major tuning. All forms in this application are heavily loaded with multiple canvases, items and triggers.
Any help would be appreciated.
ThanksIts impossible to say what it could be without more information. I think you need to go thru the forms and find out what code is causing the flashing.
We have had a few flashing bugs thru the years but we have fixed all the ones we know about. If you cannot make the flashing go away by recoding your forms, please log a bug.
When you find out please post an entry here to help others in the future. -
Forms 10g Migration : Menu attached to form appears on MDI Window.
Hi All ,
On migration of forms 5/6i into forms 10g observed that the Menu Module attached to a form appears on MDI window and not attached to the main window of the form.
How do we ensure that the Menu and the Horizontal toolbar attached to the form appear on the main window of the form and not on the MDI Window ?
Kindly help please ...
Thanks ,Hi,
I have same issue. Did you find any solution ?
Please let me know.
Thanks. -
FRM : 41067 Cannot find menu item id ( forms 10g Menus/Forms Conversion )
Hi All ,
We have menus converted into forms 10g using the forms migration assistant FMA ( frmplsqlconv ) . Now , we had the menus (.mmb) which had used Shared Menus.
After conversion observed that there were some duplicate copies of the shared menus created automatically and each reference where this shared menu was used was replaced by the newly created ones.
Now , when I open the form that uses the menu I get the following error :
FRM : 41067 Cannot find menu item id
On debuggin observed the the above error was generated at :
set_menu_item_property(SHARED_MENU.ITEM,.... )
Not sure how this worked in forms earlier version and not working in 10g now.
Could anyone please let me know how to go about to fix this issue and why is this happening at the first point.
Is re-creating the menu from scratch the only option to resolve the issue ?
Please advise ..
Thanks ,Hi
Error Message: FRM-41067: Cannot find Menu Item: invalid ID.
Error Cause:An invalid ID was passed to a built-in subprogram.
Action:Verify that a proper call to FIND_MENU_ITEM will be performed. Level: 20 Type: Errori think c1 returns null pls check ur Query in the cursor ; run & test if it returns data or not & check the name of the menu that should actually match with the name stored in the db.
If the error still existing then u can get reide of it with a simple line check using FIND_MENU_ITEM as follow...
PROCEDURE disable_menu_items IS
mi_id MenuItem;
val varchar2(10);
BEGIN
IF :Global.user_code '01' THEN
IF :GLOBAL.VC_ROLE_CODE '01' THEN
declare
cursor c1 is
select vc_menu_code,vc_menu_name from
makess.mk_module_menu a where
vc_module_code='06' and
not exists(select vc_menu_code
from makess.mk_roles_menu_inv b
where vc_comp_code=:global.vc_comp_code
and a.vc_menu_code=b.vc_menu_code
and ch_role_code=:global.vc_role_code);
BEGIN
for crec in c1
mi:=FIND_MENU_ITEM('MENU.MENUITEM');
IF NOT ID_NULL(mi) THEN
loop
set_menu_item_property(crec.vc_menu_name,ENABLED,Property_false);
end loop;
END IF;
END;
:global.check:='N';
END IF;
END IF;
END;Hope this helps...
Regards,
Abdetu... -
Forms 10g Migration : Labels on Buttons get shrinked.
Hi All ,
We have forms from 5/6i converted into forms 10g but observed that on the migrated form Labels on Buttons get shrinked and show up half instead of full.
First case ,why does this happen ? If so what is the soln. for this.
One solution might to select each button and change its height , but do you think there is any better way to do it so that it applies to all buttons on the canvas ...
Thanks,Hi ,
I have used the sam cooridnate system as in forms 5.
Can you please let me know if this would have any impact to do with the labels size on buttons and other text items.
I so what value should I change it to.
I have Real : point as my coirdinate system currently .
Thanks ,
Maybe you are looking for
-
How to Open PDF Files Embedded in an Excel File
This is a solution for Mac users who need to open .PDF files that are embedded inside an Excel file created in Office for Windows. I hope this solution works for other file format combinations. I am doing some experimentation to find out and will rep
-
Relinking MobileMe Galleries to Aperture
I recently rebuilt my Aperture DB and noticed that once back all my MobileMe galleries weren't showing up on the left sidebar. I went into the MobileMe preferences in Aperture and they are all listed there. Does anyone have a solution for re-referenc
-
Hi, I have a text box whcih saves to a database. When I call the text in the database it displays without showing any of the carriage returns. I know I need to use the replace function, however I'm sure sure where ? Is it before saving to the databas
-
Hello everyone. I'm hoping someone can help me with a problem I'm having running one of the Survey Builder API's. I need to edit certain survey fields using the following API: OPC_SURVEY_BUILD.EDIT_SURVEY. The problems is that when I try to run this
-
I have tried to uninstall itunes and reinstall the 64 bit version and still get the above error message. Can't fix this and the new iphone goes back. This last year have seen a number of problems with itunes. Not so sure it is such a good product?