Forms :: How To Get Window Handle

Feb 9, 2010

The following code works fine in the form 6i, but in the same form 10g I get map_handle='0' and win_handle='0' instead of certain value as in 6i.

map_handle:=get_item_property('MAP.MAP_ITEM',WINDOW_HANDLE);
win_handle:=get_window_property('CG$WINDOW_1',WINDOW_HANDLE);

MAP.MAP_ITEM has Chart Item type.

View 3 Replies


ADVERTISEMENT

Forms :: How To Handle TList

Jul 7, 2010

I handle newly the Tlist. I have Tlist Which is generated on runtime by the following code

Declare
cursor C1 is select 'A' col
from table
union
select 'B' col
[code]......

The list have 3 element now. But when i try get the element count in tlist using Get_list_element_count. i am not getting anything.

View 1 Replies View Related

Forms :: Rep-300 OCI Invalid Handle Error?

May 8, 2013

i have some form and reports, whenever i call report from forms i got rep-300 OCI invalid_handle_error.

View 8 Replies View Related

Forms :: How To Handle Multi Row Select Statement

Feb 3, 2011

I am doing simple project, where i need to check date(form which we give in run time) with database column date.problem i have written the code for program now i found that select statement is return multi rows.

code is

when_button_pressed trigger.

declare
fdcode dmas.dcode%type;
fcodno dmas.codno%type;
famtrs dmas.amtrs%type;
fdate donres.rdate%type;
begin
[code]......

View 4 Replies View Related

Forms :: How To Handle Position / When Do You Want To Save Changes / Dialogue Box Appears

Jan 22, 2013

I am working on Oracle apps. I have developed a custom screen. On the screen, if the user press 'F4' on final step, it will ask the dialogue..Do You want to save changes?

Yes No Cancel.

Even the user press the "Yes" , I want to check my own validation and commit when my validation get perfect.

View 1 Replies View Related

Forms :: Handle Huge Number Of Rows In Data Block

Jun 14, 2011

I need to read a huge number of rows, say in lakhs and then need to populate it in data block. Since it is having huge data am never able to run the form. it hangs after some time. when i test with few rows it is working. so no problem in coding.

View 4 Replies View Related

How To Close Window In Oracle Forms 6i

Nov 27, 2004

code for "when button pressed" trigger that will close the current window and displays another window.

View 4 Replies View Related

Forms :: Call Another Canvas In Same Window?

Feb 22, 2013

I want to call another canvas in same window.using this code /it not work show_view('canvasname');

View 1 Replies View Related

Forms :: New Window Opened As Deactivated

Jan 15, 2011

i want to open a new window from my form. everything going well but when a new window opened. the control remains on previous form. and the new window is also inactive. i tried go_item with the item belongs to the new canvas but in vain.

View 14 Replies View Related

Forms :: Icon In Window Title Bar?

Jul 23, 2010

I am using Developer 6i and i want to know how to replace the default icon in form window title bar with company's logo.

View 1 Replies View Related

Forms :: Hiding Window Failing On 6i

Apr 24, 2010

I have to create a new window in a newly developed forms 6i (in Oracle e Business Suite 11i).

This new window is to duplicate the Oracle standard alert systems. I have to create a new one to match the style classes of the other windows in the developed forms. Actually, I did not manage to change the oracle alert I used first, to match fonts, colour and sizes defined in the customised class. Thus, I decided to create a new window and canvas.

It has to display a confirmation message with 2 buttons: OK, Cancel. This window contains a canvas displaying a confirmation message, and 2 buttons : Ok, Cancel attached to my data-block. I manage to show this window, with a show_window command, called from a button on the previous window's canvas.

I do not manage to hide this new window, and to come back to the previous one, when I click on Cancel button. The window does not hide.

View 8 Replies View Related

Forms :: Command To Maximize The Window

Mar 9, 2010

Some of the items are not getting displayed properly in my form when i run.I want all of them to appear on form. Can i maximize when i open.If so whats the command.

View 5 Replies View Related

Forms :: Tap And Toolbar Canvas In Same Window

Feb 21, 2010

I use forms10g in windows xp, i create a tap and toolbar canvases in content canvas but at runtime i can see only toolbar canvas.

View 1 Replies View Related

Forms :: Set Size Of Window In Browser?

Jan 22, 2013

how i can set the size of runtime window in My browser? I have a larg form ( 800 X 600 )

View 1 Replies View Related

Forms :: Get Conditional Window Appear In Form

Jun 2, 2011

I want to achieve functionality like below:

Let's say there are two almost identical window and some specific functions associated: W1 and W2.

Depending upon the login profile into the application only one window and associated functions will be appeared. This time the other window will be disabled.

View 3 Replies View Related

Forms :: Close A Window In Query Mode

Apr 10, 2010

How do I close a window in query mode?My form has a button "Populate from Charge Master" which opens a window containing a List Item (Department Names) and 2 buttons,

1. "Select the Dept" and
2. "Cancel"

The WHEN-BUTTON-PRESSED trigger code for "Populate from Charge Master" button is as follows:

begin
SHOW_WINDOW('WINDOW_POP_FROM_CHARGE_MASTER');
go_block('bl_med_dep');
enter_query;
end;

Code for "Select" button in the window is:

populate_from_charge_master(:bl_med_dep.med_dep_code,:bl_med_charge_party.charge_party_no);
execute_query;
COMMIT;
HIDE_WINDOW('WINDOW_POP_FROM_CHARGE_MASTER');
GO_BLOCK('BL_MED_CHARGE_PARTY');
EXECUTE_QUERY;

Code for "Cancel" button in the window is:

BEGIN
hide_window('WINDOW_POP_FROM_CHARGE_MASTER');
show_window('WINDOW1');
GO_BLOCK('BL_CHARGE_COMPANY');
END;

Here WINDOW1 is the main window and WINDOW_POP_FROM_CHARGE_MASTER is the window which must be closed when "Cancel" button is pressed.

When I remove "enter_query" statement in "populate from charge master" trigger code, I am not able to select any of the departments from the list. and If I have that statement, I am not able to hide/close the window.

View 5 Replies View Related

Forms :: Take Pic From Cam Window And Save It To Field In Database

Dec 21, 2012

I have a requirement to take pic from a cam window and save it to forms field in database.

View 2 Replies View Related

Forms :: Maximize Window On Secondary Screen

Aug 20, 2012

I've already check on internet and the forum if there is a way to maximize a window on the secondary monitor instead of the main one. There is a parameter to make that? or Oracle forms maximize the windows only on the main screen?

View 1 Replies View Related

Forms :: Navigation Triggers In WHEN-WINDOW-ACTIVATED?

Mar 22, 2011

A requisition application shows the latest requisition details in the homepage and allow the users to go particular requisitions (extract) details from a button (CALL_FORM), also they can modify the records in that form.

I want to give an EXECUTE_QUERY (WHEN-WINDOW-ACTIVATED) when im returning to the home page and the cursor should return to the last row where i was.

do this from navigation triggers (with out writing a select statement in when-window-activated).

View 1 Replies View Related

Forms :: Open Dialog Window Using Oracle 10g

Jul 7, 2012

i want to open dialog window using oracle forms 10g on button click event.

View 3 Replies View Related

Forms :: Canvas And Editor Window Sizes Designer?

Nov 29, 2010

is there a way to set the default sizes for the canvas, object navigator and properties window in forms designer so that they don't maximise when opening them. i tried to set them in the caupref and cagpref files to no avail.

View 4 Replies View Related

Forms :: How To Have Standard Size For Canvas Or Window Of Form

Feb 28, 2012

Is it possible to have a standard size for canvas or window of the form? like different users are having different screen resolutions and may have different screen sizes which cause forms not to come proper on the user screen. Is there some solution to avoid the user's resolution and should work on some standard measurements?

View 5 Replies View Related

Forms :: How To Create A Browse For File To Upload Window

Mar 27, 2011

I have a major issue because I have to finish this project by tomorrow and I don't know how I could create a button on a form that will pop a window where the user can browse his system for and Image, select it and upload it on the Database.

The idea is that I have this table called APPLICANTS with columns like:

applicant_id
name
surname
housenumber
street
town
photo

I have created a registration form for the applicant inorder to register to the system but I just can't figure out how to upload a photo of the applicant.

View 5 Replies View Related

Forms :: How To Set Window Size Which Should Be Compatible For Any Screen Resolution

Mar 30, 2011

Actually i am migrating forms from 6i to 10g Here i need to set the window which should be fit in the browser(internet explorer) resolution and it should be compatible for any resolution?

i have tried by changing width and height in formsweb.cfg file but it is not compatible for different resolutions...

View 1 Replies View Related

Forms :: Close Java Applet WebStart Window

Dec 18, 2010

I am Trying to use jnlp file to launch my form application and it looks good, all works fine , except one thing

1) When i close form application, the webstart applet window doesn't close.

View 1 Replies View Related

Forms :: Modify Existing Form - Resize Canvas And Window?

Oct 30, 2010

I need to modify an existing form, thus I have to resize a canvas and a window for it. In windows, I run it and I got the right display. When I transfer it to dev server running in linux, then I compile and run it, it display the previous/unmodified size. I'm sure my form is the one that running, I placed some text there and it was displayed.

View 4 Replies View Related

Forms :: Calling URL From Modal Window Lock Form Until Return?

Mar 25, 2010

We are in the need of calling Mapping Software from with in Forms, most likely Google Maps, and keep the form locked until selections are made. The attempt was to call the URL from a Modal Window that would in turn lock the form until return.

The attempts were using WEB.SHOW_DOCUMENT, this process releases the form as soon as the call occurs. Then the desire to use UTL_HTTP, but with this process it would cause the DBA to setup a Wallet_Path for Certification of the call. This one has not been explored as yet.

View 2 Replies View Related

Forms :: How To Hide Oracle In-built Message Which Appears At Bottom Of Window

Mar 18, 2011

How to hide oracle in-built message which appears at the bottom of the window(just above the task-bar) to the left side.

View 2 Replies View Related

Forms :: Force User To Save Or Discard Record Before Child Window?

Aug 10, 2012

I have created a form where the main canvas has number of buttons. When I click each button it will open a new canvas in a new window. User will enter some details there. now I want to force the user to save or discard the record before they leave that child window. The code I have written is

DECLARE
n_button_selection INTEGER;
BEGIN
IF :SYSTEM.BLOCK_STATUS = 'CHANGED' then

[code]...

But I am not sure in which trigger I need to write the code. When I am writting in post block it is behavior is becoming unpredictable and also APP_STANDARD.EVENT('KEY-COMMIT') does not work in post_block trigger. When I am writting this in ON close trigger then also it is not firing as expected.

View 1 Replies View Related

Handle When No Value In (Select Into)?

Mar 24, 2008

I have a stored procedure that does a "select name into v_name" SQL statement, which works fine. The only problem is when the query finds no data (the procedure will error because there is no value to put into the variable). Now i have a work around to this by running the query first with a count statement (which will always have results) and then if it is not equal to 0, then i will run the select into.

My question is, is there a better way to handle this kind of issue?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved