Button to create repeating Chapter - InfoPath Dev
in

InfoPath Dev

Button to create repeating Chapter

Last post 09-18-2009 07:30 AM by xfields. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 09-08-2009 06:45 AM

    • xfields
    • Not Ranked
      Male
    • Joined on 09-08-2009
    • Germany
    • Posts 20

    Button to create repeating Chapter

    Instead of using the buildin function with the rightclick I want to create/delete a new repeating Chaper by a button-click.

    Is that possible?

  • 09-08-2009 06:54 AM In reply to

    Re: Button to create repeating Chapter

    Hi, can you clarify what is a repeating chaper/chapter?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 09-08-2009 11:25 PM In reply to

    • xfields
    • Not Ranked
      Male
    • Joined on 09-08-2009
    • Germany
    • Posts 20

    Re: Button to create repeating Chapter

    Mhh a bit problematic - cause I dont know the correct english translation.

    repeading section maybee.

     When I am in the InfoPath Designer - there are the standard controlls and then the repeading and optional controlls. There I can find the repeading section/chapter - whatever. When I use this in a form I can insert/delete this section repeadingly with a rightclick to the meneu bubble in the section. For this behavior I need to use a normal Button - just the same behavior but with a real button as control.

  • 09-09-2009 06:18 AM In reply to

    Re: Button to create repeating Chapter

    Qdabra's qRules contains a command called Insert. This will insert a row into your repeating table.You can execute the command via a rule on a button.

    Otherwise, you'd have to write your own code to have a button insert a row into the repeating table.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 09-15-2009 05:43 AM In reply to

    • xfields
    • Not Ranked
      Male
    • Joined on 09-08-2009
    • Germany
    • Posts 20

    Re: Button to create repeating Chapter

    Thanx

    A good option but I need to stay 2003 Sp2 compatible

  • 09-15-2009 06:09 AM In reply to

    Re: Button to create repeating Chapter

    Then I think the solution will be to write your own code. Good luck.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 09-18-2009 07:30 AM In reply to

    • xfields
    • Not Ranked
      Male
    • Joined on 09-08-2009
    • Germany
    • Posts 20

    Re: Button to create repeating Chapter

    Yes that helps

    I used:

    public void CTRL624_5_OnClick(DocActionEvent e)

    {

    thisXDocument.View.ExecuteAction(
    "xCollection::insert", "gruppe88_2112");

    }

    And xCollection:remove and xCollection::removeAll

     For all that have the same prob.

Page 1 of 1 (7 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.