How to update 2 datagrids in 2 different app at the same time?

I'm very new to flex/flash builder and my question is: first I have to explain how the applications works. The first applications have a form for a customer to fill and datagrid to show the results.The data is send using PHP to a database in the server. The second application have a datagrid for the admin  that show the data that the first application send. Now, when  the data is inserted in the database, the first application dataGrid show the result soon as the records are inserted in the database, but the second application show the records after I refresh the Browser. The second aplication have a delete button to clear records from the database as is obious, the firstt database needs to be refreshed in order to see if the record has been deleted. So what I need is that both applications update as soon as the database is altered.If anyone have a suggestion I appreciate very much thanks in advance.

Then, the time interval should be implemented in both applications since the first one inserts data and the second one delete the data. Instead of doing time interval I eliminate the second app and make 'states' in the first app for the 'add' and 'delete' data so I was able to open two instances of the app, one using the add state and the other with the delete state thinking that since was the same application both update at the same time but unfortunately I was wrong and one needs the browser refresh anyway. I really not know how to do time interval in flex since is different to flash that you just do the interval for the next frame and back to the first to load the data since is a timeline based app, flex not, besides, I'm just start using flex a couple weeks ago and don't know much about the coding  but I will keep researching to do that. Thanks for the advice and sorry to take so long to answer.

Similar Messages

  • Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    is this a windows in bootcamp question ?

  • Collecting data from advantech-usb4704 with two different apps at the same time

    I wonder if I can access to Advantech-4704 with two different applications at the same time?
    I use this block in my vis.
    I have enough ports, but inputs are needed in completely different applications. Do I have to close one of them or can they run simultaneously?
    Thankyou!

    Dear gtu,
    as nathand said, usually it is not supported to access the same physical resource simultaneously from multiple programs. In case of DAQmx for instance, you will get an error message which says that the resource is already reserved. I suppose the same would happen with your driver, however it might be worth a try.
    One workaround could be however if you revise your applications and merge the codes if it is possible so that no concurent resource allocation takes place.
    Best Regards,
    Adam Cseh
    Applications/Systems Engineer
    National Instruments

  • How can I log into two differant accounts at the same time in two windows without the second window affecting the first.

    I'm trying to log into two facebook accounts at the same time in differant windows. When ever I log into the second account in the second window it changes the login in the first window. When I hit home or any other link the first window account has been logged out and logged into the second window account. I tried installing a second copy of firefox in a differant folder that the first but it seems to use all the files of the first installation. If I can get 2 toatally seperated instalations that don't rely on the same history, cookies, cache, etc I belive that will solve my problem. Please help.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)

    Nah, that won't work. Facebook has a feature that gets your IP Address, so as soon as you sign into one on the same computer, it changes the other login for safety purposes (say, someone was on a public library PC. They forgot to log out. Someone else logs in, and it automatically logs them out). You'll need 2 computers to do that.

  • How can i share documents with different users on the same mac?

    How can i share documents with different users on the same mac?

    Shared how? The other users can read the documents or you all can read and write the documents?
    The first is easy just place the documents in /Users/Shared anyone can access the files there and the other users will be able to read them.
    The second is a bit trickier.

  • How Can I generate 2 different WaveForm in the same time

    Hello,
    I use a NI 6733 card and measurement studio 8 with MFC class.
    I would like to generate 2 different waveform in the same time on 2 diffrent analog output channel.
    I would like to know how can i do that bescause I succeed to generate one wafeform on one channel but not the second.
    I would like to create 2 task one per analog output channel and waveform and launch the task in the same time.
    I use the buffer FIFO and I think I have a probleme to share the buffer between the to different channel.
    thank you for your attention.

    Hello,
    This corresponds of the third case detailed in this KnowledgeBase. You have to use one task with two channel, and feed it with your two independant waveforms (at the same sampling rate).
    Cordially,
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  

  • HT5848 How do I listen to iTunes Radio and play other game/apps at the same time? On an iPad.

    Just got an iPad air and last night was able to listen to iTunes Radio and play some apps at the same time. Now today a software update, and no go on doing radio and apps at the same time....help!!!

    Anytime you open an app that has a persistant sound stream - a movie, a podcast, some games - it will overide the music app's stream. nothiong you can do to change it.

  • Time Division Multiplexing and Processing Different Loops at the same time

            Hi, I am new in Labview so you may find my questions too silly, sorry about that
    I want to design an interface to control the test&measurement devices remotely. I have two desks and there are several devices on these desks. The real problem is to use two different devices at the same time. To do this I heard that I can use time division multiplexing. But I couldn't find enough information about it in Labview. Another advice I heard was to use a matrice and hold the on/off state of the devices in this matrice. 
    Where should I start the design to create such a system? Do you have any advices? Thank you in advance.
    My basic GUI is attached.
    Attachments:
    InterfaceAli.zip ‏42 KB

    As Mike pointed out you cannot communicate in parallel on the GPIB bus - unless you have separate buses for each instrument - and that defeats the purpose of a bus. I am not sure about LXI.
    With regard to your VI:
    1. Do not use global variables to pass your data around.
    2. You should use the Array data type, not the Matrix data type. The Matrix data type in LabVIEW should only be used for matrix mathematical operations (linear algebra) which cannot be easily performed on the array data type. You have many more tools in LV to work with arrays.
    3. The Event structure needs to be in a parallel loop. This is basic data flow. If you do not understand this concept, get some training, either though the online tutorials or through a class.
    4. Use Value Changed events and place the button terminals inside the event case for that control.
    5. The parallel loops need to have a Wait or some other function which causes a delay. Otherwise, the first one to start executing could consume all available processor resources. These are called "greedy loops." 
    6. Use integer data types for case structure selector inputs. Floating point values are coerced to integers at the inputs. If the values resulted from calculations, unexpected rounding effects may occur, resulting in the wrong case being selected. In some cases using type defed enums may be even better. The underlying data is integer and the enum item names show up in the case selector labels, helping to document what the case does or why it was selected.
    7. Remove the timeout case from the event structure since it never executes. Also avoid Use Default if Unwired on the terminal with your matrix (array) data. You never have a situation where an empty array is appropriate.
    Before going any further with the program questions, you need to carefully define your requirements.  How many instruments will you have? How many can be active at one time? What kinds of communication between the program and the instruments is required? This includes commands to the instrument, data returned from the instrument, error handling, and timing requirements. What will be done with the data? Display, save to file, use to automatically control another device? What safety requirements or constraints need to be met? Once you have a good requirements document, then you can begin to determine what kind of program architecture is best suited to meet the needs.
    I suspect that you may be making some things much more complicated than they need to be while ignoring other important issues.
    Lynn

  • Streaming from ipod/ipad to ATV2 interrupted when using other apps at the same time.

    Hi.  I have an Apple TV2, ipad1 and ipod touch4.  I am having trouble with music streaming to the ATV2.  I can select a song on the ipad/itouch and stream it to the ATV2 no problem using airplay.  However, if I then try to surf the net on the ipad/itouch or use any other app at the same time as listening to the music, the music hiccups.  It seems to me like the ipad/itouch need to use the wifi network at the same time and so they take over the signal momentarily.  Any ideas what I can do about this?  My wireless router is a dual band 2.4 and 5 mhz gigabit router that is brand new and should not have any problems.
    Thanks
    Julia

    Ferrell, I have done what you suggested. I clicked onto the Spaces icon in the upper control panel and assigned spaces to six apps: Mail, Safari, iPhoto, iMovie, Pages, and iWeb.
    The problem is that if I am one app and I want to put something into that app, then the minute my mouse cursor goes to get that other thing, the original application into which I want the thing put GETS WHOOSHED OFF THE DESKTOP. What I want is for the original app to remain open whilst I go to retrieve a file or folder, and stay open while I put that thing into the original app.
    How does one turn off Spaces? I don't mean to delete all the names from the settings.I mean, just turn it off for a while so I can do something which requires for two apps to be open at the same time????
    ~ Lorna in Southern California

  • I have just signed upfor family sharing. Is there any way you can get the same app on two devices but not have to share it? My sons both want clash of clans but they don't want to be on the same village and they can't both be on app at the same time?

    I have just signed up for family sharing. Is there any way you can get the same app on two devices but not have to share it? My sons both want clash of clans but they don't want to be on the same village and they can't both be on app at the same time?

    hi, the app is not "shared", it works as if you bought the app twice with different accounts, only you paid it once. they should have 2 different villages since they're on 2 different devices.

  • My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    My MacBook is almost two years old and has started running really slow. It gets bogged down when it is running different programs at the same time, like Safari and Pages. It didn't react this way until recently. Any advice would be very welcome.

    Launch Disk Utility and select the icon of the internal drive (the drive itself, not the volume icons below it.) Is the SMART status "Verified?" If not, replace the drive immediately. If the status is "Verified," the drive may still be failing. Back up all data, if you haven't already done so. Reinstall Mac OS X, then run Software Update. Test with all wired peripherals disconnected. If it's still slow, you have a hardware problem.
    Mac OS X 10.6 Help: Reinstalling Mac OS X

  • Controller different Input in the same time in a real Scenario...(SIMULATION IN 2 TANKS CONTROLLER BY PCB BOARD)

    Hi! I really need help....
    I´m doing a simulation where I can controller the input and output with one external PCB, all is working properly (the communication) but my problem is, I can´t open where ever I want the different valves...I mean, I must wait until the process is finish...
    The program is working with diferents process like this:
    §Process 0:
        Programinitialization. Tanks and pipes in zero state. Control for this state with  “pump on” button.
    §Process 1:
        §State:
             “ Pump on ” button istrue: Pump 1 isrunning, andTank 1 starts to be filled with water.
             “ Pump on ” button is false: nothing happen, go to the next process
    §Process 2:
         This process is controlled from the “Control 1”button with is who control “Valve 1” for the discharge of water from tank 1 to tank 2.
    §Process 3:
          This processiscontrolledfromthe “Control 2 ”button with is who control “Valve 2” for the discharge of water from tank 1 to tank 2 if “Control 3 ” button is close or if “Control 3 ”button is open the water go out from the loop.
    §Process 4:
          This processgiveyoutheoptiontocome back totheprocess 1 ortotheprocess 2 dependingofthestate in process 3.
    So my problem is I want  run different processes in the same time, without having to wait out the current process is running....
    this look like this:
    and with the differents states...so I was trying to use a Statechart for try to improve the simulation....
    like this:
    But when I was tried to implement in labview with the statechart module i can't find the way to interconexión with this new module...
    Because i need two differents regions...but i can't use the connexion between them....
    Some new idea, help....all is welcome!!!
    Thanks in advance.
    Elena

    Buenos días Alvaro,
    Si, mejor en español
    Si, me has entendido bien, exactamente es lo que me gustaria. 
    Empece por mi cuenta con labview y hay muchas cosas que se me escapan... Voy a implementar la máquina de estados a ver si asi soluciono el problema.
    Muchas gracias!
    Un saludo!

  • Is there a way to work with two or more app at the same time on iPhone or iPad

    Is there a way to work with two or more app at the same time on iPhone or iPad?

    What i am attempting to achieve is to work with at least two app at the same time. For example: select any picture from my albums to attach them in an email. Another example is get data from an app to use it with the calc app. And there are more exaples for it. And for sure I need support for an iPad air. I mencioned the other tablet just to try to be a bit clearer.

  • How do you keep two users logged in at the same time?

    How do I keep two users logged in at the same time to be able to access home sharing?

    Fast User Switching in Users & Groups or Accounts preferences in Login Options.

  • How can I get rid of multiple pictures at the same time?

    how can I get rid of multiple pictures at the same time?

    Adobe Bridge, lightroom and your file browser (windows explorer or Mac Finder) can select multiple pictures at once and then delete. If you are looking for more than that for information, you will need to be more specific at what your doing, what OS you have, and version of software your using. If necessary post screen shots so we can see what your doing. The more information we have the more detailed of an explaination can can give back to you.

Maybe you are looking for

  • How do I use dual monitors on the latest mac mini?

    What cable do I need to buy? I'm still confused! I have two 23" Monitors with HDMI, DVi, & VGA. Is this what I need? http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-ada pter?fnode=53 Or maybe this http://store.apple.com/u

  • Make entries in table T095

    Hi all, Iam unable  to make entries in table T095, if i use through se11->utilitis then create entry option is disabled. if i use sm30 then it saying " The maintenance dialog for T095 is incomplete or not defined" please give me procedure to maintain

  • Need XML Structure & Parse Advice

    Hello, I am a CF Programmer who would normally use SQL as a datasource, however for a new project I thought I'd use XML where possible. I wanted to create an XML based navigation for the site but am having trouble figuring out the right way to struct

  • Lenovo G570 - I delete my recovery partition, recovery DVD doesn't work.

    Hi!  First of all - sorry for my english. I have problem with my Lenovo G570. I make a backup DVD with system by OKR (4DVD). Then by accident i DELETED my recovery partition. When i try to boot from these DVD i get error: "The program cannot restore

  • How to change payment

    friends pls any one tell me, how to change card payment method... i am using iphone 4, some body told go to settings and select view apple id and u will change... but my phone payaments are not changed pls any one help... i don't like apple seriesly.