Repeating Tables & SQL Server - InfoPath Dev
in

InfoPath Dev

Repeating Tables & SQL Server

Last post 08-13-2009 07:09 AM by StuPittwood. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-13-2009 03:18 AM

    Repeating Tables & SQL Server

    Hi all,

    I have a repeating table in an Infopath Form (2007) & a data connection to a SQL database.  The repeating table comprises of Make, Model, ID, Serial Number Fields.  The user needs to be able to enter a serial number, tab to the next field & have the other details populated from the data connection to SQL.  Now, this is working for the first item in the repeating table.  If I add a second row, it populates the fields in the 2nd row with the same data as the 1st.

     Any help appreciated.

    Stu 

     

  • 08-13-2009 07:09 AM In reply to

    Re: Repeating Tables & SQL Server

    Ok, I think I'm a bit closer ...... looks like I need to use the current() function?

    how would I work that into the following statement?

    xdXDocument:GetDOM("Transport_Fleet")/dfs:myFields/dfs:dataFields/d:Transport_Fleet/@Serial[starts-with(../@Fleet_No, xdXDocument:get-DOM()/my:myFields/my:group13/my:Truck/my:Equipment_ID)]

    Regards

    Stu

     

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