Cut reopeating section cannot paste back in - InfoPath Dev
in

InfoPath Dev

Cut reopeating section cannot paste back in

Last post 04-12-2006 08:09 AM by Matt Faus. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-10-2006 02:20 PM

    Cut reopeating section cannot paste back in

    If I have a repeating section, the control allows me to cut the section but there is no option to paste it back. Is this a function that can be controlled or is there some reason that a cut repeating section will not be allowed to be pasted back?
  • 04-10-2006 10:55 PM In reply to

    Re: Cut reopeating section cannot paste back in

    Hi JimDandy,

    Assume u have multiple rows in ur repeating section.
    U can cut a row and then paste it on to another row.
    Like how u have an option to "Cut",U also have an option to paste.

    And u have an option to disable/enable these commands.
    Double click the Repeating Section.In the repeating Section properties Dialog box that opens,click the modify button.

    In the section properties dialog that opens,click the "Customize commands" button. You can select a command and enable or disable it.

    Regards,
    Abhishek
  • 04-11-2006 05:43 AM In reply to

    Re: Cut reopeating section cannot paste back in

    I have found that I can right click on a repeating section, cut it, then paste it back into the same repeating section. What I'm trying to do is to cut section out of a repeating section control and paste it into another repeating section control. I have identical sections for "Scheduled" activities and for "Cancelled" activities. When a scheduled activity is cancelled, rather than delete it from Scheduled and re-enter the data in Cancelled, I'd like to cut from one and paste into the other.

    I suspect that since each section is made up of different data source fields, that mixing the two is (understandably) not permitted, but I was wondering if there was a way around it or to duplicate the action in some way.
  • 04-12-2006 08:09 AM In reply to

    Re: Cut reopeating section cannot paste back in

    I think an easier to way to do this is to have one repeating group in the DOM and do filtering with the two sections.

    Say your data source looks like this:

    Events
    -Event (repeating)
    --Name
    --Date
    --Cancelled (boolean)

    Then you could setup two repeating sections. The first would use a data filter to show only Cancelled = false events, and the second would show Cancelled = true events. To switch between cancelled/scheduled you could put a checkbox in the table, or you wanted to do it really slick you could add a custom button in the blue Widget menu that does this.

    Check out this HowTo for the widget menu (you will have to use the context-sensitive extension):

    http://www.infopathdev.com/howto/tutorials/default.aspx?i=f02e8631f1c342df9c49fe8103e10215
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.