How to share global var between 2 forms

Hi friends

I need you to guide me how to share a global variable between 2 forms

Please any help that I really enjoyed

Thank you

Published by: user10947262 on May 17, 2010 19:56

How about this?

:global.my_global:= :SYSTEM.CURSOR_VALUE;
open_form('C:\my_prog\Emp.fmx');

Do not forget to assign the Navigation mouse No.
No not use spaces in the path when the form.

-Clément

Published by: Hannah on May 17, 2010 21:06

Tags: Oracle Development

Similar Questions

  • How to share a variable between the Mathscript Windows and a Mathscript node

    Hello

    I'm trying to share (just) a variable between the Mathscript Windows and a Mathscript node. I don't know why, but the use of the "global" Matlab function makes the mathscript node output formats change.

    I'm looking for a "Mathscript RT V9.0.1 module" as it may seem, there is. French technical support have some difficulty to find...

    Hi patrick33,.

    The code that you have attached should not report an error, so it seems that something has gone wrong with your installation of MathScript. My best guess is that it is the problem that is described in this knowledge base article. Your signature says that you use f3 patch, which is a good start. But the KB lists some other steps to take when you see errors about MathScript, impossible to compile. Can you try the procedure described in the article and let us know if that fixes the problem?

    Thank you

    jattas

    LabVIEW MathScript R & D

  • How do a link led between two forms that independently of moving

    Hi all

    I am looking for many tutorials how to create something like this:

    http://turbulence.org/works/MyPocket/graph/

    (the video is on the right)

    But could not.

    I have for each shape, I do 2 circles (move separately) and between them, making a shape that works as a link, related on each circle on the sides... is it clear? I need the link to 'stretch' and follow the two circles...

    Do you know if there is a way?

    Thanks in advance

    m.

    Use something like this technique from an old blog post, I did years ago:

    I created a layer named string and a layer called Kite. I drew a mask on the layer of string that forms a gentle arc, added the effect of outline with a width of 3 pixels and paint on Transparent selected. The race goes from the left edge to the right edge of the layer in the chain, and it is important. The string layer is slightly narrower than the model to make it easy to work with. The last step with the layer of string is to move the anchor point to the left most vertice point of the mask at exactly a value X 0. It is also important. The two layers are converted to 3D.

    The Kite layer is simply a square solid with a mask in the shape of the kite and the anchor point where is used the string.

    The following terms are added to the string layer:
    String scale:

    point1 = position;
    point2 = thisComp.layer("Kite").position;
    L = length(point1, point2);
    w = thisLayer.width;
    r = L/w*100;

    [r, value[1], value [2]]

    String Orientation:

    t = thisComp.layer("Kite");
    l = thisComp.layer("String");

    fromPoint = l.position
    atPoint = t.position
    lookAt(fromPoint, atPoint)

    If you look closely the language, you'll see that I'm calculating the distance between the anchor and then dividing the difference in the width of the layer and multiplying that number by 100 to arrive at a scale factor to make the string layer is always the same length as the distance between the end of the chain and the kite. The part of the Orientation of the expression simply indicates the string to the wing. There is a problem which must be overome. The string layer is perpendicular to the wing and this part is important, the rotation must be changed to-90 to get things to normal. This isn't another expression, it's just a value that you put in.

    The kite layer also needs an expression to point the wing at the end of the string. The expression of the orientation of the kite is basically the same as the string Orientation expression with definitions for the to and the reverse point. It looks like this:
    Kite Orientation:

    t = thisComp.layer("String");
    l = thisComp.layer("String");

    fromPoint = t.toWorld(position);
    atPoint = l.toWorld(thisComp.layer("String").anchorPoint);
    lookAt(fromPoint, atPoint)

    Now the kite can be moved and the string will follow.

    Here's the project file

    Here is a movie.

  • How to share both calendars between two different iphones

    My wife and I keep the personal calendars on each of our iPhones. We share Contacts through our main MacBook Pro, but we keep our calendars separately as our two different iPhones. My question is, we'd like to be able to see and share our calendars to the iPhone, but still keep our own separate calendars. (I hope that's clear). Is this possible and what can someone tell me the procedure to do it please. Thank you!

    Hello ovelky,

    Thank you for using communities of Apple Support.

    Take a look at the following article. It explains how to use iCloud for sharing one calendar with others. This sounds just like what you are wanting to do.

    iCloud: share one calendar with others

    Best regards.

  • How to share internet connection between two computers (win7 & win XP)?

    "I plan to get cable internet connection ADSL broadband." And again, I want to share internet from one computer to another. »

    • But I have a question in mind which is lower.

    Before going to answer my Question Please read two notes point-

    Note:

    A. very important don't ask me what I have installed and what equipment I have in my PC? just give me a simple, easy answer. guess I'm no networking and I have two PCs. You teach me from scratch.

    B. do not use the more technical term. I hate it when someone using the most incredible technical term (its towers the response in the largest number of questions lol). just give me a simple answer.

    If you are eligible to condition or except my EULA :) go further and read my questions give me an answer simple and straight.

    Now please read the question below.

    Issues related to the:

    Q1. Which computer should I connect main internet connection (computer on which will better host win7 or Win XP)?

    Q2. What equipment I mean as a router, hub, NIC etc.? Please specify if these materials will be required for two PCs or for one.

    Q3. What type of Internet connection sharing will be better to be wired or wireless (cost, speed and security wise)?

    Q4. I need two IP address both part of connection to the internet between two PCs?

    Thanks in advance.

    Hi Zeff,

    You can make Windows 7 the main computer for internet connection and then host the Windows XP computer.

    For more information, see the article:

    Start here to set up a home network in Windows 7

    Networking of computers running different versions of Windows

    With respect to the equipment as a router, hub, NIC depend on the connection (wired or wireless) you want to use. You can also check with the ISP (Internet Service Provider) for more information.

    For more information, see the articles:

    What do I need to connect to the Internet?

    Setting up a network home

    Wired and wireless connections have great benefits, but they have also some disadvantages.

    Wired connection:

    > Faster and more robust than wireless connections but not so flexible when positioning of computers and devices because you must be connected to your Super Hub with an Ethernet cable.

    > Safer than wireless connections, but not so convenient for users of laptops and other mobile devices.

    WiFi connection:

    > Wireless! If you can connect when you want. However performance may be affected by walls, electric interference etc.

    > Ideal for users of laptops and other mobile devices, you can connect devices more but slower than wired connections

    > Very safe when used with higher level (WPA) encryption. You can connect your smart phone to your network wirelessly for faster browsing.

    However, unauthorized users could try to use your connection (which explains why security is so important).

    There are two types of IP addresses. external and internal. Both computers have the same external IP address but separate internal IP addresses. Each device in your network will have its own (internal) IP address. The external IP address, who sees the Internet is actually assigned to your router.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • How to display Global variable in the form

    Dear friends,

    I want to display the value of the global in the form as soon as the new form is opened.
    I used the display for this option but to fill this post, I have to at least run or insert the record.


    Manish

    Manish,

    Assign the value to the global variable, the trigger of NEW-RECORD-INSTANCE of the block also. Then it will show.

    Kind regards

    Manu.

  • How to share a partition between El Capitan and Windows 7

    Hi all

    You are looking for assistance.

    I'm relatively new to Mac OS and you want to configure a MacBook with El Capitan and Windows 7, with or without boot camp. I have a 1 TB SSD hard drive, where I want to divide it into 3 partitions with the following:

    200 GB Mac OS partition

    Score of 200 GB Windows 7 OS

    600 GB shared partition accessible between the 2 operating systems.

    Whenever I have set the shared FAT32 partition it would either mess boot camp install Win7 or boot camp Win7 will not install unless the FAT32 partition is removed. I even installed Win7 without boot camp and the shared partition is safe on Mac OS, but not accessible in Windows.

    Hope that all makes sense. Help will be very appreciated.

    Thank you in advance.

    1. in what year is your MBP?

    2. you can

    a. either manually partition and create the partitions you need, if you need to use Bootcamp, or

    b. install W7 as virtual machine and VM engines will allow you sharing (reading / writing) between the two file systems.

    3. There are many variations to two models of same. W7 and year of Mac are the main limiting factors for your disk formatting.

  • How to share quick values between dashboards?

    Hi all

    I have two dashboard pages. On the first page of dashboard, I have a few guests, say the year and month and a guided navigation link.
    When a user selects a value among the guests and click on the guided navigation link, you will see the dashboard page.

    But the values that the user has selected go to the dashboard.

    Lets say the user has selected in 2009 as the year and week - 10, like the week and refined of the query, and click on the guided navigation link.
    All of these values must be informed about the guests that do not exist on the dashboard that opens when you click on this link.

    Is there a way to do this!
    Any immediate response would be appreciated!

    Thank you!!
    Vasantha.P

    The prompt value guided navigation link of dashboard is not parsed. You probably use guests of different dashboard on every dashboard page and they are defined at the level of the page. Try to use the same prompt of dashboard in two pages of dashboard and dashboard upgrade.

    Another option (if you want to use the dashboard of the prompts) uses DASHBOARD URL in the report to analyse the variable of the presentation of the guest of dashboard source target guest of dashboard on the dashboard of the target page, see this blog entry for details:
    http://108obiee.blogspot.com/search/label/dashboard%20URL

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Passing VARs between flex components

    Hello

    How can I pass VARs between flex components?


    I try: public var TypeGaleria:String = 'Fotos';

    but does not work!

    You can communicate between the application main and components, as well as between the components using 'mx.core.Application.application' (or parentDocument and parentApplication), but which is considered bad practice, as it results in a loosely coupled application.

    Import mx.core.Application;

    public var app:Object = mx.core.Application.application;

    myComp1 = app.myComp2.myVar;

    For a loosely coupled application, use custom events to pass data autour. Here's my message to Flex cookbook on the use of the custom in a wizard based MVC events:

    http://www.Adobe.com/cfusion/CommunityEngine/index.cfm?event=ShowDetails&ProductID=2&postI d = 11246

    If this post answers your question or assistance, please mark it as such.

  • How to share tabs between my various Firefox installations using the new system of accounts of Firefox?

    I use Firefox Nightly (2014-02-18, 30.a1, x 64) on my laptop (Windows Pro 8.1 x 64) and I was using Firefox Beta on my Nexus 5 (Android 4.4.2). Recently, Mozilla announced the new system of accounts of Firefox (which replaces the old Firefox Sync account) and I created an account of Firefox for my computer laptop installation every night. Because the new account in Firefox does not work with the old Firefox Sync account, I replaced my installation Android of the beta version of Firefox with Firefox Nightly and signed account Firefox on my Android. However, when I try to send a tab of my Android installation to my installation of laptop using intend to 'Share for every night', every night asking me to implement a sync account, which is impossible to fill in my computer laptop system every night. I tried to replace my Android installation every night with an Android Aurora facility, but the same problem occurs.

    What's worse, is that even with my laptop and Android facilities signed on the same account in Firefox, I'm not all information is synchronized between 2 facilities. No story is shared, and I don't see the list of tabs opened from the other device. I can't move tabs between my phone and my laptop, which is something I've used every week I visited websites and read that my RSS FEED on my phone. Does anyone know how to share tabs using Firefox's new accounts? Does anyone know why Firefox accounts doesn't seem to be synchronization of data between my 2 installations?

    Hi gfactor:

    An update on this issue. I think that this (965811) was fixed in Firefox Beta 29.

    Please try beta if you have some time (just search for Firefox Beta on the google play and then install firefox beta) and let us know if Firefox 29 beta sendtab now works for you.
    
  • How to share files between Win 7 computers in the same workgroup without set up homegroup?

    How to share files between computers to win 7 in the same workgroup, without setting up any homegroup?

    We tried to avoid putting in place the homegroup. Because we fear us will not be able to share files between win 7 homegroup computers and Vista & XP?

    Thank you.

    Ok. We got it to work.

    In the folder tab property shares.

    Click on 'Share' - choose people to share with, click on the drop down tab, select 'All', click 'Add', in the table below, to the right of everyone, click on the "Permission level", we choose 'read '. Then, in the background, we click on "share". The next dialog box is 'your folder is shared', click 'done '.

    Click on 'Advanced sharing', [x] check share this folder. Click on 'OK '.

    Then, click on 'OK' to the folder property.

    Then, your folder is shared on your network working group of Win 7.

  • How to share files between Windows 7, Windows 8, Windows 8.1 program technical preview 10 Quad-starting Windows

    Tips for sharing files between multiple versions of windows program without having to reinstall the programs? Any responses appreciated.

    There is no way to share programs/apps between OS when multi boot, IE; you can not install MS Office on W10TP and expect to use on other operating systems, you can share the data in the program, each operating system will require that individual programs / applications are installed on each operating system.

  • How to share Internet between a computer and the Windows Phone?

    How to share internet via pc windows for windows phone?

    Hi magali,.

    I suggest you to refer to the links and check if it helps.

    http://answers.Microsoft.com/en-us/WinPhone/Forum/wp8-wpnetwork/Internet-sharing-not-working-in-Windows-8-Lumia/8bf52b82-ebd8-47dc-B3FC-c1ee06abb6d5?msgId=f83df1c9-F186-495B-b16d-41c09578afdb

    http://Windows.Microsoft.com/en-GB/Windows/Connect-Internet#1TC=Windows-8

    http://Windows.Microsoft.com/en-us/Windows-8/mobile-broadband-from-start-to-finish

    Hope this information helps. If you have any questions, please let us know.

  • How to remove the hairline of white space between two forms in color

    I'm setting up a complex visual image in Illustrator. I used the processing step and repeat certain geometric shapes, and then color them in with the paint bucket using a swatch file direct. Then I deleted the original geometric shape contours, leaving just the plug-in software component color fill. Everything is great, except in two or three apparently random locations there is a hairline white between two forms of color component software plug-in. I don't want to change the dimensions of the forms to try to hide the white space, because who is going to introduce another problem. Any suggestions?

    You can butt them using the spacing to distribute at the bottom of the palette alignment function.

    Select your items, and then click one of them to designate it as the 'key' object (this is one that will stay in place while others move in relationship with him according to your actions).

    If the Align Panel is not slammed shut, choose window > align.

    If the spacing section distribute is not visible at the bottom of the alignment palette, choose Show Options in the Panel menu.

    The spacing value to distribute the value 0. Set align it: the Key object alignment option

    Click on the button appropriate to spread (horizontal or vertical).

  • How to change a global variable of b form to form.

    Oracle forms builder 10.1.2.0.2 version
    version 10.1.2.0.2, Oracle database

    I try to pass a global variable of the form b to form one; I have an error frm-40815
    does not define a global variable in a form file.
    without doubt, I missed something. could you tell me what I missed?

    Here is my sample code;
    form a
    in when new forms instance trigger;
    :myblock.getvalue := :global.p_ck;
    .....
    
    forms b
    in when button pressed;
    call_form('a');
    :global.p_ck := :myblock2.checked;

    I assume that null value passed.
    you have an idea?

    If this previous error is resolved means that now form works well. Now, if there is then no value. So I think that the domain that you assign is not having any value for the test, you can use like this...

    :global.p_ck := NVL(:myblock2.checked,'Blank');
    call_form('a');
    

    -Clément

Maybe you are looking for

  • Upgrade to 3.6.10 broken CSS websites

    CSS seems to be gone in any of the site, the pages appear as if the CSS has not loaded to.

  • Memory running at a lower frequency

    I recently added 1 GB 667 DDR2 ram to my office, a1514in Pavilion (previously 1 GB 667 stick). But now the bios is show my DRAM frequency as 266 MHz (PC2-4200), these are the cases with different configs: -If I put only OLD stick of 1 GB 333 MHz (PC2

  • El Capitan frequent Kernel Panics

    Hello community! Long time fan, first time poster. Use Apple products my whole life and can usually dig myself about any situation. But this one was really puzzled. Essentially, the problem is since the upgrade to El Capitan (fully updated) my Macboo

  • Microsoft survey?

    I just got an email from Microsoft to answer the survey questions 'Insider '. Most of the issues seems too personal. The URL to enter the investigation was https://www.instant.ly/s/eEoyA Is - this legitimate, or a fake survey?

  • I was somehow infected and after restarting the laptop, it goes to a white screen.

    Original title: Virus I have an old HP Pavilion 2008. I was somehow infected and after restarting the laptop, it goes to a white screen. Not even the HP logo lights up. I can't access installation even though I know which key press. I created a boota