Sharing data between two canvases on the same form ?

Hello,
I have one form with two canvases and two data blocks.
Datablock A and datablock B are same tables.
The reason I split is so I can have a search field on canvas A, then after executing the query, I want to populate canvas B.
I'm having trouble sharing the data across both data blocks.
Note: I set up a relation in datablock B to correspond with A, and I've chosen field name "Horse" to be my master and detail item.
"When-button-pressed-trigger" --> Here is part of my code after the user presses the "Search" button (in datablock A).
     execute_query;
     SHOW_VIEW('CANVAS_HORSE');
     HIDE_VIEW('CANVAS_SEARCH');
     :fox_horse.horse := :fox_horse1.horse     ;                         GO_BLOCK('FOX_HORSE');
When I go back to my "FOX_Horse" datablock, why is the :fox_horse.horse field the only one populated? I though by creating a relation btwn the two blocks they would syncronize automatically ?
Any advice ?
Thanks,
Bob

Alex,
I have tried your suggestion, yet I'm still having a problem once I issue my execute_query command.
In my Search button I have this code:
BEGIN
:fox_horse1.horse := :fox_horse.horse;
GO_BLOCK('FOX_HORSE1');               
execute_query;
END;
Note that FOX_HORSE is NOT a database block (as you suggested), but FOX_HORSE1 is a database block.
So when I click on the "Search" button I can see the :fox_horse1.horse field getting populated immediately, but then the system asks me if I want to save changes. When I say NO, the actual data block portion of my screen just defaults to the first record, so my exec_query show no effect at all.
What am I doing wrong in my search button trigger ?
Thanks so much for your advice,
Bob

Similar Messages

  • Sharing library between two logins on the same computer Windows XP

    This itunes help topic does not work in sharing the libarary.
    http://docs.info.apple.com/article.html?artnum=300432
    Has anyone figured out how to do it?
    Thanks.

    I do this with my wife. With two logins you get two libraries. Make sure you store the files somewhere accessible to both users. We use a networked drive. All you really need is a folder you can both get at. Set iTunes within both accounts to point at the the desired storage location and use the same Music Store account.
    The only complication I have found is that tracks imported by one person are not automatically added to the library of the other. For instance, CDs I import can be used by both of us but she must import the tracks in order to have them in her library. I have a excel file made for this. When I import a CD I add the name to the list then in the next column is an "x" meaning I have it. The next column gets an "x" when she adds it to her library.

  • File Sharing problem between two macs on the same network.

    Have a iMac and a Mac Mini and a MacAir on the network. We have file sharing turned on on all 3. The Mac Mini keeps popping up a error message that states "There is a problem connecting to a Server "iMac". However the Mac Mini is connected to the iMac and is sharing files between the two.

    This has worked for a few...
    Though all of these steps may or may not be needed, I'm including them all.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    10.4 instructions...
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • Sharing music between two users of the same computer

    My husband and I both have i pods and use the same PC, running Windows XP. We have different user names in XP, but have the same e-mail address and apple account. We can't have both our iTunes open at the same time and can't share music without creating playlists in each others library and then burning them to CDs. More than half the time the CD's fail to burn and we get error messages. We have tried the sharing settings in Preferences, Exporting and Importing files and folders, etc. but nothing works. Are we destined to have to buy the same songs twice?

    1 Quit iTunes.
    2 Drag your entire iTunes folder from \My Documents\My Music\ to a Shared C:\Documents and Settings\All Users\Documents\My Music.
    3 Log out.
    1 Log in on your other account(s).
    2 Start iTunes and immediately press an hold the Shift key.
    3 iTunes will ask to Create new library or Choose existing library. Select Choose existing library.
    4 Select the iTunes library file in the iTunes folder in C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    5 Now go to File -> Add Folder to library and select the iTunes music folder located in C:\Documents and Settings\All Users\Documents\My Music\iTunes.
    6 - iTunes will add all the music in from this account to the main iTunes music folder/library.
    7 Delete the iTunes folder in \My Documents\My Music\.
    8 Restart iTunes normally (don't hold Shift). Everything should be there.
    9 Quit iTunes and log out of the account.
    10 Do the above steps for all users. Don't do the first 1-3 steps. Start at the second series.
    Log into your account, start iTunes normally and all music should be there.
    Whenever any of you do anything in iTunes, it will be seen by all since you are using one and the same iTunes library file.
    Create a "main" playlist for each user with their own music. Create a smart playlist and set it to Playlist is not the playlist you created above. Select this and it will show you everything NOT in your playlist. Do the same for the others. This will help when adding only the music you want your own playlist.
    Note that iTunes can only be opened by one user at a time.

  • Sharing screen between two imacs using the same @me account

    Hi Im trying to work from home and looking for a way to log into my work imac, I also have an imac at home, both mac's are using the same @me account. can any one help please.

    You will need another account, Free iChat .mac account CLICK HERE
    Then you need the remote to auto answer, i use Chax for this and you can say who has sreen sharing access.
    Chax http://www.ksuther.com/chax/
    Or have a look at LogMeIn https://secure.logmein.com/US/products/free/

  • Sharing Mail between two User on the same desktop

    I have a .Mac email account with alias account for my wife; and I have set up user account on our desktop each for myself and my wife. When my wife log on to the desktop using her account and try to check mail, Mail is asking her to set up a .Mac account again. Do I need to set it up again so that she can access my .Mac mail account under her log on? Or do we need to subscribe to a family .Mac account?

    If both of you have seperate Accounts on one mac, and yet sharing on One .Mac account, I think it is possible to set up your .Mac account on your wife's computer account, just enter the right user name, in this case it is yours, just one note you must remember, is to set either one of your Mail's .Mac account to leave mail on the server, or else whoever checks email first would have downloaded the mail to his or her computer... and the other one would not see any mail, of course this is a POP setting; If you set your .Mac to IMAP, then it shouldn't be any problem.
    Cheers

  • Sharing music between two users on the same iMac?

    Can anyone tell me how my husband and I can share music in iTunes when we have individual logins for the iMac and iTunes accounts without having to store the music twice therefore taking up twice the amount of space on the hard drive?

    click here for information.
    JGG

  • Sharing music between two users in the same computer ?

    I want to share my music library with an other user on my computer. I have try for hours without success HELP ME
    Thank you for answering

    http://docs.info.apple.com/article.html?artnum=93195

  • Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Hello there - how can I share my iTunes library between two users on the same computer? I put the library in a shared folder between both and have selected this library on both as well, but when I update iTunes with music etc it only appears on one?

    Thank you Joe - I tried this but it's only showing a teensy amount of music - the stuff on the second users account as opposed to the giagntic library on the 'main' account. I actually went to a Genius Bar and they said that apple doesn't really want you to share music between accounts - parents don't want to hear their kids music etc. Which seemed strange, but it might be the case sadly   Thanks anyway!

  • TS2972 is it possible to use home sharing between two users on the same computer?

    My wife and I have itunes accounts and want to be able to share music we have each bought on our accounts. We have tried setting up the home sharing on our PC but it doesn't show up on the screen. Can anyone please help?

    "Is it possible to use home sharing between two users on the same computer?"
    No. Home sharing is used to connect two running instances of iTunes across a network. When you switch users on the computer all applications running on the other profile are suspended.
    You can however share your respective media folders so that they are visible in either profile and then copy over any content that you want, or you could create a single joint library which you use when either user is logged in.
    tt2

  • How do I share one itunes account between two users on the same computer

    How do I share one itunes account between two users on the same computer without taking up twice as much space on my hard drive?

    You would need to move the itunes folder to a location that both users have permissions to access such as the Shared folder or any folder on the root level of the macintosh HD.
    You can find instructions here http://support.apple.com/kb/HT1203 This method allows you to share the content without sharing the same library.

  • Distinguishing between two instances of the same portlet

    Hi Experts,
    Is there a way to distinguish between two instance of the same portlet in different browser windows?
    I'm looking for something like URL parameter passing, but just for portlets.
    The problem is, I want a way to pass a parameter between views in a portlet, but in such a way that if another browser window is opened and navigated to that portlet page, the parameter won't be the same. Perhaps I can explain better with this example:
    Page A has a portlet on it which has a textbox and 2 buttons - the first button stores the value in the textbox in the PortletRequest (or PortletURL) and if you click the second button the portlet navigates to a different view which displays the value. If I navigate with a second browser window to Page A, however, and only click the navigate button, that value which was stored by the first instance of the portlet will still be shown. I want them to be independent, I don't want changes in the one's PortletRequest to reflect in the other one's PortletRequest.
    Any ideas?
    Thanks,
    JP

    Why not use two instances of the same portlet, i.e. create two channels of the same portlet.
    The behave the same, have the same application logic, so all you need is to transfer informations between the two portlets.If you want this within user space use the portlet session, otherwise access the http session context /application context and store the data there.
    The behavior would be controlled by the portlet preferences, so channel a (instance 1) would be configured to run as controller and channel b (instance 2) would be configured as receiver.

  • Sync a folder between two users on the same computer.

    I would like to sync a folder between two users on the same computer so that they are always the same when I access them from either user.

    then place this folder somewhere where both users have access to like in /Users/Shared. then there is only one folder to deal with and you don't need to sync anything.

  • How do I share music between two accounts on the same i-mac

    How do I share music between two accounts on the same i-mac

    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189

  • Share a library between two users on the same mac?

    It is possible to share a library between two users on the same mac?

    It's doable. As it's been pointed out Aperture has no provisions for file locking so you can't have two users accessing the library at the same time. This includes having one user having the library open only for browsing. Aperture doesn't have a +Read Only+ mode, when it opens the library, even if you make no changes to any images, the library will be written to.
    This also means you can't have one user open the library and then stop using Aperture but still have the library open and then have another copy of Aperture open on the library.
    Of course if you have two copies of Aperture running even they are on different libraries you'll be in violation of the license and you'll have bigger problems to worry about then a toasted library.

Maybe you are looking for

  • Hey friends ! Getting error in IDOC creation ! need help

    After i execute the outbound IDOC report ! I am getting an error in the Status message as "error 26". I searched for thet in se16  and come to know that its aEDI syntax error. Can anyone tell Where are the defects  and will be the approach to solve t

  • Imac shuts down and restarts on its own

    Hello I am having a problem with my 2011 Imac i7. Usually when at the screen saver the computer will shut down and display an error message. Something along the lines of "your computer has experienced and problem and is restarting". It flashes to a g

  • Problems while using Adobe Interactive Forms

    Hi Experts, When I execute my adobe interactive forms application that uses a BAPI to access backend I am facing the following problem: When I enter valid values and click on submit all the browser windows close without any warning or error message.

  • SAP Oil activation

    Hi, I have tried to activate Oil & gas in ECC 6.0 ides using SFW5 transaction., however, once in the screen the option under business function cannot be changed? Any hints? thanks in advance for your time.

  • Wrong Port Statistics in Cisco Network Assistant

    Hello, I'm having some troubles with CNA (version 6.0). There's a few switches in the network that displays wrong information about sports activities/statistics. I've got some ports administratively down, without activity, however CNA is showing Tx a