Add new Table Item - InfoPath Dev
in

InfoPath Dev

Add new Table Item

Last post 09-13-2007 04:11 AM by Taffman. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-03-2007 06:43 AM

    Add new Table Item

    I have a repeating table that queries an SQL database for product items.

    I'm looking for a way (code?) to automatically add a new line item whenever a line item is created thereby not requiring the user tp click pn the "add item" hyperlink.

    Does anyone know how this can be done?

  • 09-07-2007 07:00 AM In reply to

    Hello

     Write this code on the OnAfterChange event

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

    where <group2_1> is the repeating table group

    Kalyan G Reddy
    Infopath MVP 2007 and 2008
  • 09-13-2007 04:11 AM In reply to

    Many thanks for this. I tried this but get a cannot open blank form error?

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