Cann't close form
Hi ,
I creating a custom master-detail form on EBS 12.1.2 , and i can't close the form when i press on the close button
i had modified the pre_form trigger on module level to have my new window name , and also the app_custom.close_window with my new window name . but still the same problem.
any help, Thanks.
hi tony,
first create a menu or submenu,then you try to use the following code in your loadfrom function.
Dim XmlDoc As Xml.XmlDocument
Dim Xmlstr As String
XmlDoc = New Xml.XmlDocument
Dim SPath As String
SPath = CurDir.Remove(Len(CurDir) - 3, 0)
Try
XmlDoc.Load(SPath & "\filename.Xml")
SBO_Application.LoadBatchActions(XmlDoc.InnerXml)
Catch ex As Exception
SBO_Application.MessageBox(ex.Message)
End Try
the above code is working perfectly for myself.
Similar Messages
-
How can do i set button to close form
have put together an internal enquiry report form. to be filled in over a 2 week period and saved each time closed then submitted at the end of the fortnight. How can I set a button to save an close form. I don't need or want to close acrobat program
thanks
craigHi Pascal,
Add this script to the click event of your button. It will close the window containing the form.
app.execMenuItem("Close");
Denver
Adobe Enterprise Support. -
I want to close Form portlet window after the user has pressed Insert.
I have added code go('javascript:self.close();') into onSuccess section. This works fine when I'm using Netscape but not in IE 6. Method self.close (or window.close) works fine in IE when I'm using it e.g. in UIF templates.
Does anyone know any trick how to close Form window after successful (Insert) operation?
Regards
RainerI found solution myself. I inserted illegally formatted URL in to onSuccess field, and I managed to debug error. The portal is trying to call page http://server:7778/pls/portal/javascript:window.close();
My solution was to write a simple HTML page:
<html><body onLoad="self.close();"></body></html>
whose URL is written into onSuccess field.
Please comment, if you find possible errors in this solution.
Regards
Rainer -
Open form - close form problem
Hi. Using JDeveloper 10.1.3.3., ADF BC.
Simple, yet not so simple problem: I have two forms, Main and Detail (JFrame). Main form has menu item which I use to open Detail form:
try {
FormDetail frmDetail = new FormDetail();
frmDetail.setBindingContext(panelBinding.getBindingContext());
// center jframe, visible = true
showNewForm(frmDetail);
} catch (Exception ex) {
ex.printStackTrace();
} finally {
I want to create new instance every time I show Detail form. But I have problem closing detail form. Here is Detail constructor:
public FormDetail() {
addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
dispose();
Here are actions:
1) start Main form
2) open Detail form
3) close Detail form
4) try to open Detail form - oracle.jbo.JboException 35001.
I've read about this error, but I don't know how to avoid it.
I cannot accept that I always have to use setVisible(true) and setVisible(false) on all my forms. There has to be a way to dispose of detail forms, and re-create them. Can someone please help?
Also, read article on Re: ADF-JClient bug
No solution thereI have looked at it before. I am not working with MDI forms, so I cannot apply this.
I found this article which could solve my problem, but I don't know how is "thedude" creating that Abstract class he was talking about...
Link: Re: how to release panelbinding correctly?
As I understood, I should release panel binding before I can release the form...
Default behavior of detail form's window listener is Exit(0). I want to reinstantiate form every time I open it. -
Right/best method to open and close form?
When i click a button from FormA, it open FormC and it should be the same with button from FormB-used to open the same FormC but it doesn't.
this happen when i previously open FormC from FormA before opening it in FormB.
I use setvisible(true) to open form and setvisible(false) to close the form and this doesn't seem right..
i use exactly the same method as shown in Creating Swing Clients for Business Components Tutorial
anyone can help? i'm new with Java n Jdeveloper...
Thank You..Fatima,
this question is best answered in teh JDeveloper forum on OTN because this Forum is for Oracle Forms. You can start and hide forms in Java using setVisible(true|false), howvere, this doesn't release the hanlde to the data bound.
In the HowTo setcion of the otn.oracle.com/products/jdev there exist a document "How Do I dynamically Change the Binding of a View Object to JClient Panel?"
This explains how you work with RowSet Iterators to reuse forms.
Frank -
How To Use F4 Command in Oracle Developer 10g to close Form on Web
Hi,
How can we close a running form and come on main menu screen in Oracle Developer 10g, when we are working on Web.
This can we do easily in Oracle Developer 6i but it will work for desktop based application.
ThanksHi Vansul,
Thanks for your reply.
can you please tell me in which file i need to make changes.
where is that file located, i didn't see any folder with the name of configuraton.
How can i add entry for F4 in file.
Thanks -
Problem close form with upper-right cross
Hi, I am having a problem with a form in oracle 10gR2.
The form was made with Oracle designer and now when the user click on the upper-right form cross it's not closed. The user must to click on the parent form and close it.
Thanks.I might add that trigger (when-window-closed) but I'm looking that in the application there are other forms that not include that trigger, however that forms are closed through the upper-right cross.
It seems like there was a parameter or property in generator time. I don't know. All the applications forms have been created in the same way.
Thanks, Pavan.
Xisco. -
HI,
I've got a big application in forms 4.5 with Oracle 7 and Oracle 8i. I transform this application in Forms 6i, my application can run and the communication with the database is OK, but i can't close it (any form) this error system message appear immidiately
ifrun60.exe - Image incorrecte (i'm french)
the application or the dll :c:\WINNT\System32\user.exe is not a valid Windows picture. Virify with your installation floppy. (Sorry for my translation.)
This message appear when i want to do an exit_form with this application by some function. The application test Bankapp run normally, and this message appear with an OS W2K or Win NT4 pack6. When i try to do an DO_KEY('EXIT_FORM') the application run with the CPU at 100 % and never stop. When i try to do an EXIT_FORM without passing to my function, the application do nothing.
I don't know what to do.
thanks for your helpThis forum is for general Oracle Forms questions. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
As you are clearly working with the Oracle Enterprise Business Suite (EBS) you are going to want to become familiar with the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
<ul>
<li>Oracle Applications Developer's Guide
<li>Oracle Applications User Interface Standards for Forms-Based Products
<li>Oracle Application Framework Personalization Guide
</ul>
Craig... -
Hello!
I'm not sure if this would be the best forum for this, but here is my question:
I'm trying to make 2 forms that link together, and so far I have been successful in attaching one PDF in another, so that it opens the attachment when you click a button. My boss requested that there be some sort of way to go back to the original form, since it may be confusing for some people once the attachment is opened, because it appears over the original document and covers it.
I apologize if this is convoluted, but the only solution I could think of was to have the attachment appear in a new window, with a JS button with an action that will "close" the attachment. But I am not sure if this is even possible.
I know this is redundant (why couldn't they just hit the red x in the corner??) but when dealing with non-technology people, sometimes you have to make it as blatantly obvious as humanly possible.
Would anyone know a way to make a button that does this? Or have another solution that might work better?
Thank you so much in advance! I apologize if my request requires further clarification.
Best Regards,
Ashley
(Running Adobe Acrobat Pro XI)One of the options in a button's action is to execute a menu item... Use it
and select File - Close.
You can also use a script, if you want. The code below will close a file
without prompting the user to save it, even if it was edited.
this.closeDoc(true); -
hello all,
how can i close a form automatically if there is no activity for the last 10 minutes. ( forms 6i)
thanks in adv.
krisHi Kris,
What activity do you mean? something like saving to database ? if so, probably you can try out setting some global variable to a value before and after the activity. And in the trigger, check for the global value and if its after, then perform exit form else nothing.
HTH.
Regards,
Arun -
I am having a frustrating problem! I am trying to set up a menu that will open a form ('Open_Form('myform')) and close the current form. Opening the new form is no problem, but I can't seem to find the code to close the first form. This can't be that difficult! Can anyone help?
ThanksSaraS
Use new_form built-in.
Regards -
Hi ,
I creating a custom master-detail form on EBS 12.1.2 , and i can't close the form when i press on the close button
i had modified the pre_form trigger on module level to have my new window name , and also the app_custom.close_window with my new window name . but still the same problem.
any help, Thanks.I recommend you post your question in the EBS General Discussion forum. It sounds like you are missing some of the required objects in your custom form. The people in that forum will be able to help you.
Craig... -
Close form after click on send button
Hello,
I would like the adobe form to close after the user clicked on "send by email" button.
I found this code to do it automatically :
app.execMenuItem("Save");
app.execMenuItem("Close");
But I don't see where I can write it as I can't modify the click event.
Any idea ?
Thanks in advanceI don't know if this will work, but what if you have another button that triggers the submit event and the code to close the form later on? Hide the actual submit button from your layout.
"Normal Button" code:
SubmitButton.execEvent("click");
app.execMenuItem("Save");
app.execMenuItem("Close");
Cheers, -
OPEN/CLOSE FORMS ???
HI,
I have one form say A
from which i am calling many forms
say A1,A2,A3... using OPEN_FORM Built In and
on A1,A2,A3 forms there is a exit button
for exiting the same form.
In the same way i want to close ALL
open forms when i press a button logout/exit on
the main form i.e form A .
In this application i given the provision
user can switch from one form to another
so that he can open/close any form at any time.
All i need is to close ALL form at a time
only when he press exit at the MAIN form A.
Any ideas/suggestion?
Early reply is appreciated.1) F4 or Alt-F4 ?
Alt-F4 is the KEY-EXIT like CTRL-Q. Use this trigger for closing the other forms.
In your button you can easily write
do_key ('exit_form');
=============================================
2) the :global.Auto_Close is easy
main_form:
KEY-EXIT )
:global.Auto_Close := 'TRUE';
go_form ('A');
global.Auto_Close := 'FALSE';
exit_form;
form A:
WHEN-FORM-NAVIGATE )
DEFAULT_VALUE (NULL, 'global.Auto_Close');
IF :global.Auto_Close = 'TRUE' THEN
exit_form;
END IF;
=============================================
3) if main.fmb is your start-form and you open_form A and there you call_form AA - then you have the problem, that you first have to close AA, before you close A
I thought you work only with open_form instead of call_form
try it
Gerd -
Why we use write form,open form,close form,in script
urgent
Hi,
OPEN_FORM
The function module OPEN_FORM opens form printing. You must call this function module before you can use any other form function (WRITE_FORM, START_FORM, CONTROL_FORM...).
You need not specify a form name. If you omit the name, you must use the function module START_FORM to open a form before starting the output.
You must end form printing by using the function module CLOSE_FORM. Otherwise, the system does not print or display anything.
Within a program, you can use several OPEN_FORM.. CLOSE_FORM pairs. This allows you to write output to several different spool requests from within one program.
START_FORM
In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.
To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.
If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.
OPEN_FORM->
To initialize the printing of forms via the Raw Data Interface, use function modules (OPEN_FORM und CLOSE_FORM) and a flag in the form (administration data). For this purpose, the function modules include the additional optional import parameter RAW_DATA_INTERFACE.
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/cb3d8e455611d189710000e8322d00/content.htm
START_FORM->
In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms. This allows you to combine several different forms into one print output. However, you can combine only those forms that have the same page format.
To switch forms, use the function module START_FORM. If another form is still open, you must close it first using END_FORM.
If you specify no form name when calling START_FORM, the system restarts the last open form. If after OPEN_FORM no form was activated yet, the system leaves the function module with the exception UNUSED.
from: http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/0dba1a494511d182b70000e829fbfe/frameset
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.
Maybe you are looking for
-
Creating a web service to consume price of a particular stock from ???
hey, i'm new, donno much about web services in terms of writing it, but i do have some knowledge about wat it actually does... im here becuz i wanna create a web service to consume the price of a particular stock and then store the closing price alon
-
Any help please. I am new to MAC products
-
How to aggregate data with BI Publisher using an OBIEE analysis
Hello, I'm new with BI Publisher, and I have a concern about the ability for BIP to aggregate data. I am creating a data source from an OBIEE analysis containing the columns "Year", "Month", and "Revenue". I want to use this source for 1 report conta
-
Oracle Standard Edition and OLAP
Hi all, Am I correct in thinking that datawarehouse and OLAP style features are only available as an extra option when you have purchased Oracle Enterprise edition? Are there any OLAP related features that come with Standard edition, or do you have t
-
Does the Extended Value Search Service support a mode where there is no validation of the input field value (i.e. the message is not shown in the messageManager)?