Repeating table with default Rows - InfoPath Dev
in

InfoPath Dev

Repeating table with default Rows

Last post 04-06-2006 09:57 AM by dlgross. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-03-2006 11:44 AM

    Repeating table with default Rows

    Is it possible to create a repeating table that has some rows already partially populated with default values and then allow the user to add additional rows if needed?
    Dean
    Charlotte, NC
  • 04-03-2006 02:21 PM In reply to

    Re: Repeating table with default Rows

    You can do this by editing the template.xml file that your form starts up with by default. You can also do this with code in the OnLoad event, but this is a little more difficult.

    Steps to edit template.xml:

    1. Select Extract Form Files from the File menu.
    2. Follow the wizard to Extract the files to a folder
    3. Browse to that folder, and double-click template.xml.
    4. Edit the form to include all of the data that you wish to be displayed by default.
    5. Save the XML file
    6. Right-click manifest.xsf, choose Design, and then save the template to another location to repackage it as an XSN.

    Hope this helps!
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 04-06-2006 09:57 AM In reply to

    Re: Repeating table with default Rows

    Matt, I am attempting to implement your suggestion to edit the template.xml file and have run into a problem. The defaul data I entered displays ok, but I broke the ability to edit the data on rows 2 through 20, row 1 works fine. Any idea what I might have done wrong? or what I need to do to fix?

    TIA
    Dean
    Dean
    Charlotte, NC
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.