Best way to pass back data from hierarchical table view?

Hi,
I have a view hierarchy using a navigation controller that's working pretty well. One of the bottom level views is a table view where the user selects an item from the list. This bottom view checks the list item, saves the selected item in a property, and then pops the view off the stack.
What's the best way to alert the parent view that the child view has been popped off so it can retrieve the value in the property? The calling push returns immediately, so it doesn't appear to be a modal call. I want to be able to use the same controller from other parent forms, so I need to be able to do this without referencing the parent in the child form ideally.
Thanks
Ray

Hi, well let me try to explain it a bit more
- Add a "delegate" property to your child-viewcontroller-class
- Define a protocoll within each chil-viewController-class
In this example let us name it "didSelectValue:(NSString *)value"
- In the parent-viewcontroller before pushing a child-viewcontroller set it's delegate property to "self" (parent-viewcontroller)
- In the parent-viewcontroller implement to protocoll-method "didSelectValue:(NSTring *)value"
- In the child view-controller in (assuming it is a tableViewcontroller) add some code in didSelectRowAtIndexPath that checks if the delegate is set and check if it responds to selector "didSelectValue:(NSString *)value". If so, call it with the selected value.

Similar Messages

  • Best Way to port the data from one DB to another DB using Biztalk

    Hi,
    please suggest best way to move the data from one db to another DB using biztalk.
    Currently I am doing like that, for each transaction(getting from different source tables) through receive port, and do some mapping (some custom logic for data mapping), then insert to target normalized tables(multiple tables) and back to update the status
    of transaction in source table in sourceDB. It is processing one by one.
    How/best we we can do it using  bulk transfer and update the status. Since it has more than 10000 transaction per call.
    Thanks,
    Vinoth

    Hi Vinoth,
    For SQL Bulk inserts you can always use SQL Bulk Load
    adapter.
    http://www.biztalkgurus.com/biztalk_server/biztalk_blogs/b/biztalksyn/archive/2005/10/23/processing-a-large-flat-file-message-with-biztalk-and-the-sqlbulkinsert-adapter.aspx
    However, even though a SQL Bulk Load adapter can efficiently insert a large amount of data into SQL you are still stuck with the issues of transmitting the
    MessageBox database and the memory issues of dealing with really large messages.
    I would personally suggest you to use SSIS, as you have mentioned that records have to be processed in specific time of day as opposed to when the
    records are available.
    Please refer to this link to get more information about SSIS: http://msdn.microsoft.com/en-us/library/ms141026.aspx
    If you have any more questions related to SSIS, please ask it in
    SSIS 
    forum and you will get specific support.
    Rachit

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • Best way to accept a date from a user

    Hi Guys,
    Whats the best way to get a date from a user and add it in an
    insert record to access.
    I have a form that adds a record and it works well enough as
    long as the data added is in the correct format.
    Untill now ive just had a text box with an explination to the
    user on how to add the date and what format....
    But Im fed up with having to change bad entrys and need to
    place a control or something on the form but dont know whats
    easiest and best?
    Any ideas welcome.
    Thanks

    If you want today's date set the database up to insert the
    date
    automatically. If you want other dates than today's use a
    date picker or
    calendar to insert the date.
    Dave
    "Tag2007" <[email protected]> wrote in
    message
    news:epj87p$mar$[email protected]..
    > Hi Guys,
    >
    > Whats the best way to get a date from a user and add it
    in an insert
    record to
    > access.
    >
    > I have a form that adds a record and it works well
    enough as long as the
    data
    > added is in the correct format.
    >
    > Untill now ive just had a text box with an explination
    to the user on how
    to
    > add the date and what format....
    >
    > But Im fed up with having to change bad entrys and need
    to place a
    control or
    > something on the form but dont know whats easiest and
    best?
    >
    > Any ideas welcome.
    > Thanks
    >

  • What is the best way to transfer my date from my old iMac to my new iMac?

    what is the best way to transfer my date from my old iMac to my new iMac? I don't have a time capsule, so I cannot use time machine.
    thanks

    Your best bet by far is to use Setup Assistant when the new Mac first starts up to transfer directly from the old one. 
    It's similar to Migration Assistant, but doing it that way will avoid having an extra user account.
    Either way, you can connect them via FireWire, Thunderbolt, or your network, but avoid wireless if at all possible.  You can connect both to your netwrork via Ethernet, or put a single cable between the two. 
    See Using Setup Assistant on Mountain Lion or Lion for details.

  • Send data from 2 table view to a RFC

    Hi All,
    What I try to do is following:
    I have two table view A and B, which contain data, which I need both for the RFC. Now I can Toolbar for one of the tables and connect both tables to the RFC, both with the action caused by the button.
    But only the data from the table view with the button is sent to the RFC.
    Has anyone an idea what I could do?
    BR Matthias

    Hi Matthias,
    have you defined an action like 'submit' and declared the events in the transition like '*submit'?
    Best Regards,
    Marcel

  • What is the best way to remove personal data from the hard drive in preparation for selling my old Mac?

    I am going to sell or perhaps donate my old Power Mac G5.  Is there an easier, yet comprehensive way to remove my data from the hard-drive?  My best approach is dumping anything I do not want found into the trash.
    I am running Mac OS 10.5.8 on the powermac G5

    For better security than the simple Erase (which does not actually over-write the data blocks, only clears the directory), choose Security Options, and Zero all data, one pass.
    After a Zero all data, the only way to recover the data is to dis-assemble the drive in a clean room and use expensive test gear to recover a little of the data. That is good for all but Military Secrets.
    If you really trust no one under any circumstances, remove the drive and beat it to death with a hammer.

  • What is the best way to mimic the data from production to other server?

    Hi,
    here we user streams and advanced replication to send the data for 90% of tables from production to another production database server. if one goes down can use another one. is there any other best option rather using the streams and replication? we are having lot of problems with streams these days they keep break and get calls.
    I heard about data guard but dont know what is use of it? please advice the best way to replicate the data.
    Thanks a lot.....

    RAC, Data Guard. The first one is active-active, that is, you have two or more nodes accessing the same database on shared storage and you get both HA and load balancing. The second is active-passive (unless you're on 11.2 with Active Standby or Snapshot Standby), that is one database is primary and the other is standby, which you normally cannot query or modify, but to which you can quickly switch in case primary fails. There's also Logical Standby - it's based on Streams and generally looks like what you seem to be using now (sort of.) But it definitely has issues. You can also take a look at GoldenGate or SharePlex.

  • What is the best way to auto back up from a pc to time capsule?

    IN MY HOUSE WE HAVE ONE MAC AND THREE WINDOWS PCS/LAPTOPS. I AM LOOKING FOR THE BEST WAY TO AUTOMATICALLY BACK UP THE PCs TO THE TIME CAPSULE.

    windows 7 will not back up to a time capsule. because windows backup demands ntfs, and time capsules aren't true nas devices (they don't include the ability to fool windows into thinking its an ntfs partition)
    i thnk your going to need another back up utility for your windows computers, like maybe acronis or paragon or rdrive, etc etc
    theres nothing stopping you from copying files back and forth from a windows computer to a time capsule, but when it comes to windows backup it won't work

  • Best way to Pass a Date with Time to a Page

    Has anyone come up with a simple and reliable way to pass a Date with Time "06/13/1992 10:50 PM" to a page.

    Hi Scott:
    On Page 1:
    Summary Report
    LINK  Window   Item Count      Start Date                   End Date
      X       1            7         8/2/2007 03:15:20   8/2/2007 03:18:22
      X       2          12         8/2/2007 04:01:01   8/2/2007 04:07:42When the LINK is clicked
    On Page 2:
    [:P2_S_DATE] 8/2/2007 03:15:20 [:P2_E_DATE] 8/2/2007 03:18:23 [:P2_GO]
    Detail Report
    Window   Item Number      Item Date
        1                1                8/2/2007 03:15:24
        1                2                8/2/2007 03:17:04
       ...              ...                        ...I then need to allow the users to adjust the dates and click the P2_GO and have it return the new result set.

  • Best way to copy ALL DATA from song to song?

    Hello everyone,
    I'm in the middle of scoring a film and have ran into what seems to be a corrupted song, and want to attempt to transfer all data from this song into a new file.
    I'm running multiple global tracks with changes in tempos and time sigs all over, multiple audio tracks, and various Virtual instruments. I also have an extensive environment in which I use instrument tracks to access my exs instruments, as well as multi-instrument tracks for kontakt 2. Of course I have this saved as a template, but as you know as projects progress, the current song rarely looks like your autoload. So simply copying and pasting will not work, as I have many new instruments and audio files in different places in my arrange page. Thus when I try to copy and paste, logic sees that the current tracks are not "correct" and asks to "create new instruments" which seems to randomly throw all the instruments to the bottom of my arrange page, making it all out of whack!
    With some help from the audio config window and some manual editing of the arrange page, I was able to get my song pretty much back to normal, but for future reference, what is the best way to transfer all of my data to another song, while still keeping the look and functionality of the song intact?
    Thanks in advance for your help! If it helps to see what I'm talking about, I'm willing to post my song file for reference, just ask.

    I'd LOVE to somehow avoid #4 if possible. As I stated
    above, my projects always change from the templates
    due to extra audio tracks, audio instruments, etc, so
    a simple "copy and paste" does not seem to work.
    Is there something I'm missing?
    Yup, I was missing something really simple. If you choose NOT to copy instruments, it will ask you to keep the instrument or create a new track. If you keep the instrument (since my instruments names remained the same as the template) logic will connect the tracks with the instruments and only put the additional tracks (i.e. extra audio tracks etc) on the bottom. WAY COOL!
    Now my process is a little easier, however if you have any other tips so share please feel free to post.

  • Best way to use basic data from another DB?

    Hi, I have a database where I need to use basic information such as (Table Person and other Human Resources tables) My database needs those tables, should I create those tables in my model too? and through scripts fill that information? or there is a direct way to do it, such as a trigger or something. Can you give different solutions with different database engines? such as Oracle, mysql or MSSQL or just one thanks a lot!

    diego10 wrote:
    I see I need to be specific, Well from MSSQL to Oracle
    You could have a process on MSSQL to push data to Oracle.  In this case, MSSQL is just another client to the oracle database, using MSSQL "linked server".  This could be a scheduled batch process or a trigger.  (I'm assuming MSSQL has triggers).
    You could have a process on Oracle pull data from MSSQL via a db_link in the Oracle database.  Obviously a trigger would not be useful, because there would be no triggering event on the Oracle database.
    You could create a view in the oracle database that selects from MSSQL via a db_link.  This would avoid trying to keep duplicated data in sync, but would not allow the app in Oracle to actually maintain the data, just view it when needed.
    The best solution will depend on the specific needs.

  • Best way to push change data from sql server to windows/web application

    i apologized that i do not know should i ask this question in this forum or not.
    i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
    my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
    so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
    there is two issue
    1) how to determine data change or data insert. i guess that can be handle by trigger
    2) next tough part is how very easily push those data from sql server end to win apps end.
    so looking for expert guide. thanks

    Hello,
    Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
    If you are use SQL Server 2008 or later version, you can also try to use
    Change data capture, which
    can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Best way to remove old data from db?

    Hi,
    I am looking some ways to keep my database small and remove old data from database and archive it somewhere else. the data may need to be put back to the database in the future. One of the things I am conserned is how to enforce constraints? In other words, when I remove data, all the related pk/fk data should be removed together. Any suggestions will be greatly appreciated.
    Thanks

    hope this may help u
    concept is : exp/imp & truncate will reclaim the space
    method1
    do an export and secure the dump(say dump1) for future purpose.
    delete the unwanted data.
    commit.
    now again export the tables ( say dump2).
    now do the import(dump2).
    /*now this import will reclaim the the unused space.*/
    method 2
    /* depennded on volume of data */
    -- create backup of existing table for future
    create table backup_table nologging as select * from original_table;
    -- create copy1 of existing table
    create table copy_table nologging as select * from original_table;
    -- truncate the original table, so that highwater mark is reset.
    truncate table original_table;
    -- insert data from copy_table into original table
    insert /*+ APPEND */ into original_table select * copy_table where(ur conditions for data);
    commit all the work.
    /* now u have 3 tables
    backup_table - with all the data - for future reload
    original_table - with unwanted data deleted and space reclaimed.
    copy_table - copy of original table.
    now u drop the copy_table
    drop table copy_table;
    regards

  • Best way to pass secure data between servers

    Hello,
    In the not to distant future my company wants to expand our
    site to include a single sign-on, this will be made possible with
    the 3rd party group that handles our customer info. Can someone
    enlighten me as the most secure method of transferring user data
    between these locations?
    What has been proposed is to pass the login from our site to
    the 3rd party, if successful pass back certain data, display and
    possibly update on our site and then pass this back to the 3rd
    party server.
    Is CFLogin the most powerful method for login? I've used
    query checks in the past, is that adequate or is CFLogin much
    better? Any pointers are appreciated.

    "Is CFLogin the most powerful method for login? I've used
    query checks
    in the past, is that adequate or is CFLogin much better?"
    Neither, CFLogin is really just a specific purpose IF block.
    Code
    within the opening and closing <cflogin...> tags is run
    when a user is
    not logged in with the <cfloginuser...> tag. Inside
    this block one
    still needs to validate the credentials provided by the user,
    often with
    a query check.
    The <cflogin...><cfloginuser...> combination
    provides an easy to
    interpret and use mechanism to run conditional code and
    persist a user
    login state from request to request. It is basically
    equivalent to ones
    own <cfif...> logic combined with session data for the
    user state.
    Under the hood it is using the same mechanisms.
    I usually prefer to roll my own solution because I often want
    to store
    more state data about a user then is allowed with the
    <cfloginuser...>
    tag and the related getAuthUser() and isUserInRole()
    functions.

Maybe you are looking for

  • HT1688 How can I make the keyboard go away in an app

    How can I make the keyboard go away in an app

  • Transferring files, apps using Migration Assistant

    I bought a new Intel based iMac and instead of using the set up assistant to help me transfer my files from my old Mac (1.5 GHz Powerbook G4, OS X 10.4.11) to my new one I delayed the process and am now trying to do it using Migration Assistant. The

  • Unmapped GL Group

    Hi, I am running the ZFRP report for Cost Center 14230000 / Profit Center 4230. However,  the output shows some amount under head "<Un-mapped FRP GL Group Credit>"...... I checked the FSV in OB58......it is correct. How is it that certain expenses re

  • Error numbering credit note of vendor

    the we try to unbloked the numbering of credit note send error Another user-modified table  "(NNM1) (ODBC- 2039)  [Message 131-183] we kill the process of the users not workin we restore the numbering not working we restore the data base not workin w

  • How many Oracle Licences required ?

    Hi, Can somebody help me in understanding the number of oracle licences required for the following server specifications :- Server is SUN V890 4x UltraSparc IV DualCore running Solaris 9. Please be elaborative , as I need to understand and learn, how