How can I avoid opening the several instances of the same form?

Hi Friends,
I have a MDI form with a menu. When open a form by clicking the menu twice, it is opening two instances of the same form. It is eating up all resources of my memory.
How can I avoid opening the multiple instances of the same form? I want the activate the form which is already open instead of opening the new instance of the same.
Anybody knows solution please help me.
Thanks
Gopinath Kona

Hi,
U must be using the built-in OPEN_FORM in your code. Instead of that, check it using the following code....
IF ID_NULL(FIND_FORM('form_name')) THEN
OPEN_FORM('form_name with the path');
ELSE
GO_FORM('form_name'); --shifts the control into the form which is already open.
END IF;
hope it helps...
null

Similar Messages

  • When I open an html file saved in UTF-8 format the 3-byte file header (usually hex EF BB BF) is shown as text at top-left. How can I avoid this - all other browsers interpret the header correctly and don't show it.

    I write VB apps that create web pages for international sports scoring systems, and these must be able to show Latin, Cyrillic, eastern names etc. that require 2-bytes for some characters in the text. This means saving in UTF-8 to avoid 8-bit ASCII files being created. UTF-8 files typically have a 3-byte header = hex EB BB BF, and with all browsers except Firefox this header is interpreted and not shown. Firefox however always displays these characters as  at the top-left screen position. What do I have to do the make Firefox recognize UTF-8 files, or do to my UTF-8 files to work properly with Firefox?
    See http://www.iacusn.org/USN2010/results/ for a typical recent example.

    You see that UTF-8 BOM (Byte Order Mark) because of the content type specification in the page code.
    <pre><nowiki>content="text/html; charset=windows-1252"</nowiki></pre>
    If you remove that or change it to utf-8 then Firefox won't show that BOM as text. There is however no need to insert that BOM at the start of the file. You can also configure the server to send the file (all files) as utf-8.

  • How can we avoid installing java3d runtime envoirnment on the client side

    Hi All, my applet uses java3d api. To see this applet in the browser on the client side we need to install java3d runtime envoirnment. Is it neccassary or can we avoid it. If we can avoid installing java3d runtime env , how can we do that.. Can Java WebStart help in this.
    your suggestion will be valuable..
    Thanks
    Akhil

    Yes, of course we can avoid it. Just as we can avoid asking the user to download the JRE if they want to run java.
    The only slight pay off we make for that is that the program won't run at all on their computer.
    As long as this is not an issue, there should be no problem.
    Seriously, my understanding is that Web-Start can hide the fact that we are installing Java 3D on their machine or at least make the installation very simple. There is no way to run Java3D applications without Java3D.

  • How can I avoid having "XE index" entries in the pdf bookmarks frame?

    Hi,
    I try to use RH9 to create a pdf file, but the contents (= bookmarks) frame looks like this:
    1 Heading 1
    2 XE "Index word 1" /* MERGEFORMAT Heading 2
    3 XE "Index word 2" /* MERGEFORMAT XE "Index word 3" /* MERGEFORMAT XE "Index word 4" /* MERGEFORMAT Heading 3
    4 XE "Index word 5" /* MERGEFORMAT Heading 5
    Apart from the apalling look, these bookmarks jump somewhere, but not to the given topic.
    I know I could create a Word document instead and fix the headings there, but I am trying to delete this step from my workflow, because it is to time-consuming.
    Thank you for any suggestions!
    Irina

    On second look, no:  The same .dot - now hiding all formatting and special characters - results in a pdf-bookmarks (=TOC) frame
    a) without index entries, if the ssl hasn't checked the option "Keep HTML Heading levels" and
    b) with index entries, if the ssl has checked the option "Keep HTML Heading levels"
      a)  b)
    1) Any ideas, why setting this option results in a frame showing things which are hidden in the .dot file?
    2) Would an update to RH9 help? (I am very much hesitating this step since I've tried RH9 and found it corrupts all my conditional tags.)
    Thanx in advance,
    Irina

  • How can add or open  a document like word,excel  from forms ?

    Hello,
    I want to open a excel file from my forms from a specific location , i have to write the code in when-button-pressed button i.e when i will click on add button it will open a dialog box there i need to browse the excel file then it will add the link in my form, when i click on that link it will open the excel file .
    Many Thanks.

    hi
    do u use webutil? if yes then try something like this.
    when-button-pressed trigger
    declare
          f varchar2(100);
    begin
         f := webutil_file.file_open_dialog();
         if f is not null then
              :excel.file_name := f;
              end if;
         end;Note:- u have to attach webutil.pll without webutil it will not work.
    sarah

  • How can I avoid Infoaxe?

    When I open firefox.exe, it takes me to directly to http://www.infoaxe.com/enhancedsearchform.jsp.
    How can I avoid this and just go to the Firefox browser? Or if I must select a destination, can I just go directly to Google.com?

    Hi,
    You can reset your browser homepage by going to Tools -> Options in Firefox and Tools -> Internet Options in Internet Explorer.
    Should you have any questions, please feel free to contact [email protected]

  • How can I avoid the display of ORA-31684 during impdp import?

    Hello,
    I'm working on a cross-platform tablespace migration (from SunOS to RedHat Enterprise Linux).
    During the import with DataPump, I have several ORA-31684 error messages ("Object type TYPE : "OWNER"."OBJ_NAME" already exists"). Some of my TYPE objects exist already in the Linux instance of the DB. The messages appear only for 4-5 TYPE objects, while overall I have around 180 TYPE objects owned by the schema owner.
    How can I avoid the display of these error messages? I don't want to drop the TYPE objects individually from the Linux instance, as the object list may vary in time.
    Thank you,
    Adrian

    Hi,
    There is no way to tell the impdp to ignore those errors. They will be printed to the error log and to the screen where the job is being run.
    Dean

  • How can I actually open multiple tabs of the same site, instead of performing the new "switch to tab" action?

    For example, sometimes I would like to open multiple tabs of Google Maps to get directions to multiple locations, and I haven't found a way to do so without open a new instance of the browser. Thanks.

    This one colors tabs, but the author warns that it doesn't work with other tab-related extensions, so you probably need to keep searching for one that does everything you want:
    https://addons.mozilla.org/en-US/firefox/addon/colorfultabs/
    If you don't find a do-it-all extension, you can modify the tab titles with a userscript that is specific to that website. This is because the tab displays the text designated in the page as its title.
    You either could "hard code" the list of words for each of the pages, or you could have a script extract information from the page, for example, the first main heading, or some other predictable bit of data. The script then would insert your preferred wording as the title of the page and Firefox will show that on the tab.
    To see how that appears, so you know whether it would be useful, you could do this experiment:
    On a web page that has useless tab text, open the Web Console using command+alt+k (Windows: Ctrl+Shift+k). In the line at the bottom next to the caret, paste the following code and press Enter:
    document.title="Magic!";
    If you decide you want a script written for this, you could try the request forum on userscripts''.''org:
    [http://userscripts.org/forums/2 Ideas and script requests - Userscripts.org]
    Although some people offer small payments, that usually isn't necessary to motivate people to help.
    Let me give you a brief warning about that site, though: over the past year, a lot of popular scripts were duplicated and reposted with additional code that hijacks your Facebook account. Be cautious when installing scripts, check the reviews, make sure there are no references to Facebook.

  • I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos". How can I do that without losing some of the features

    I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos".  How can I do that without losing some of the features of those two?   I just want to add a feature.  Thanks

    Settings>Store (or iTunes & App Stores if you are running iOS6)>Apple ID. Tap your son's ID and sign out. Sign in with your ID and password.
    You shouldn't lose the music, but if you try to update any apps that you bought with the family ID, you will have to use that password that is linked with that ID in order to update.
    Avoid downloading past purchased content with the old ID if you can since you will associate the iPad with the old ID for 90 days and you will lock yourself out of your own, new ID for that period of time. Read more about associated devices in iTunes here.
    iTunes Store: Associating a device or computer to your Apple ID

  • I have several pdfs on my iPad in iBooks. My iPhone shows only the categories, none of the documents. How can I get my iPhone to also show the documents that are on my iPad?

    I have several pdfs on my iPad in iBooks. My iPhone shows only the categories, none of the documents. How can I get my iPhone to also show the documents that are on my iPad?

    You will need to connect your iPad to your computer's iTunes and do File > Devices > Transfer Purchases to copy them over to your computer (that will copy PDFs and epubs that are in the iBooks app, not just actual ibooks), and you can then sync them to your iPhone. Or you might be able to open each PDF in iBooks on your iPad and use the share icon to email them to yourself and then use 'open in' in the Mail app on your iPhone to copy them to its iBooks app (if the PDF is protected then you may not get the email option via the share icon).
    The Settings > iBooks > Sync Collections setting doesn't copy items between devices, it just means that it a bookor PDF is on both devices and you move it into a collection on one device then it will be moved into the same collection on the other device

  • Every time I sync my iCal computer with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications?

    Every time I sync my iCal on my computer through iTunes with my iPhone 4 or iPad, duplicate entries are generated on both systems. What am I doing wrong or how can I avoid the duplications? I have been doing this for several years and this problem is a more recent issue, like in the last 6 months. I have been deleting the duplicate entries, on both systems, but some duplicates reappear through "general" entries that are connected to the correct color for a Calendar, but not the name. I am going nuts and wasting tons of hours trying to get the 3 calendars to sync without generating duplicate entries.

    Choose one of the Calenders on ONE of the computers OR the MobileMe as the Master / correct account.
    The REINITAILISE the data of MobileMe within preferences on the computer defining the datatransfer correctly (in the advanced box of preferences). The synchronise iphone contacts and calender directly on-line to MobileMe.
    I posted a question on this today, and gave my own reply !
    Regards,
    Kevin

  • Help!!! the app Iphoto is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    I was editing my photos and adding them to a album and suddenly the app is closed marking a erros. I go back and open the application and are not photos. How can I recover them? Are not in the image folder.

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How to install several instances of the same application on a computer?

    Hej,
    I have an application in LV 2009, where I have created an installer. The installer installs to a directory called \Receiver relative to the Program Files directory. If I install this once to a computer, everything is OK.
    However, I want to install the same application twice on the same computer. There should be no conflicts between the two applications, since I can configure them to work on different directories and ports. But if I call the installer again, and selects another directory, nothing is installed and I get the message "Installation Summary - No software will be installed or removed". It seems like the installer ignores that I have selected another directory, and just uses the default directory, relative to the Program Files directory.
    Anyone knows the trick, how to install several instances on the same computer ?
    BR, Jan
    Jan Nielsen
    Freelance system analyst and LabVIEW programmer

    Hi Jan,
    This is so because each installer has a GUID that is used to check whether the application needs to be upgraded or not. (It's a Microsoft function).
    What you can do is create a new installer with a different GUID (copy the installer in the projects), and check witha  text editor whether this GUID has changed.
    But any specific reason you need two seperate installs? You can run the application twice with a specific INI token:
    allowmultipleinstances=True
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • I am trying to make a iphoto book but every time i click on a single photo or folder it opens up a new book. How can I avoid this? This is iphoto 10.

    I am trying to make a iphoto book but every time i click on an individual photo (or folder) it opens up a new book. How can i avoid this?

    Export the slideshow out of iPhoto as a QT movie file via the Export button in the lower toolbar.  Select Size = Medium or Large.
    Open iDVD, select a theme and drag the exported QT movie file into the open iDVD window being careful to avoid any drop zones.
    Follow this workflow to help assure the best quality video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    If iDVD was not preinstalled on your Mac you'll have to obtain it by purchasing a copy of the iLife 09 disk from a 3rd party retailer like Amazon.com: ilife 09: Software or eBay.com.  Why, because iDVD (and iWeb) was discontinued by Apple over a year ago. 
    Why iLife 09 instead of 11?
    If you have to purchase an iLife disc in order to obtain the iDVD application remember that the iLife 11 disc only provides  themes from iDVD 5-7.  The Software Update no longer installs the earlier themes when starting from the iLIfe 11 disk nor do any of the iDVD 7 updaters available from the Apple Downloads website contain them. 
    Currently the only sure fire way to get all themes is to start with the iLife 09 disc:
    This shows the iDVD contents in the iLife 09 disc via Pacifist:
    You then can upgrade from iDVD 7.0.3 to iDVD 7.1.2 via the updaters at the Apple Downloads webpage.
    NOTE:  If you're running iPhoto 9.5 the export options will be different.
    OT

  • I have loaded and reloaded Reader 9.  I cannot open a pfd document.      I can save it to desk top then open it via a drop down box that has a "open with Adobe Reader 9".  How can I avoid having to do this?

    I have loaded and reloaded Reader 9.  I cannot open a pfd document.      I can save it to desk top then open it via a drop down box that has a "open with Adobe Reader 9".  How can I avoid having to do this?

    Hello Michael,
    Thank you for your response.  My operating system is XP.  When I try to open a pfd document I just get a series of letters and symbols in a dialog box.  The top of the box says "select the encoding that makes your document readable".  I can choose Windows, MS-Dos, or other (there is a long list to choose from).  None seem to make a difference.  If I save the document to my desk top I can right click on it and choose an option "Open with  AdobeReader 9" and it opens fine.
    Thank you,
    Rick 
    New Edge Technologies
    6525 Peninsula Dr.
    Traverse City, MI 49686
    231.620.2521
    231.941.1284 (fax)
    [email protected]
    Date: Wed, 8 Jul 2009 06:22:51 -0600
    From: [email protected]
    To: [email protected]
    Subject: I have loaded and reloaded Reader 9.  I cannot open a pfd document.      I can save it to desk top then open it via a drop down box that has a "open with Adobe Reader 9".  How can I avoid having to do this?
    Hello:
    What operating system does your computer use? What happens when you attempt to open a PDF document rather than saving it first? Please include any/all error messages. Also, have you tried opening documents from other locations or just one in particular?
    Thanks,
         Michael
    >

Maybe you are looking for

  • Is Adobe CS3 supported in Mac OS X Yosemite?

    I have just upgraded to OS X Yosemite and now none of my CS3 applications will work.  Is there a fix?

  • Problem with rman backups

    We upgraded, the rman catalog due to the following error: PL/SQL package RMAN.DBMS_RCVCAT version 11.02.00.01 in RCVCAT database is not current PL/SQL package RMAN.DBMS_RCVMAN version 11.02.00.01 in RCVCAT database is not current RMAN-00571: ========

  • Help with adobe reader please

    I was in my software updater and it automatiically started to install the adobe reader to the current version.  It won't stop installing, even though I've already reinstalled the current version.  Help please and I'm not very computer savvy.  Thanks.

  • All Apple Software removal

    I've been trying to delete all the APPLE SUPPORT SOFTWARE Bonjour,Support Mobile,etc.from the ADD AND REMOVE PROGRAMS and it's not working. The message is " The feature i'm trying to use is on a NETWORK RESOURCE that is unavailable"  Enter an alterna

  • Fixing or reporting incorrect character glyphs?

    On my Macbook Pro (up to date according to Software Update), I've found a number of UTF-8 character codes that display as the wrong glyph with some software (but usually other software gets it right).  I've tried to find a way of either submitting a