Copytable from a secondary datasource - InfoPath Dev
in

InfoPath Dev

Copytable from a secondary datasource

Last post 04-22-2013 05:33 AM by Philip Saxegaard123. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 04-22-2013 02:59 AM

    Copytable from a secondary datasource

    Hi.

    I'm using qrules 4.3. My goal is to copy a repeating table from a secondary datasource into my main datasource. This is my command: CopyTable /dsnamesrc=PillarteamSisteHentDato /tablesrc=/xml/rs:data /rowsrc=z:row /tabledest=/my:Prosjekt/my:group98 /rowdest=my:group99 /empty=yes

    In the error node I get this message: "The table row of the source and destination must contain the same number of elements and attributes."

    I've checked that there are 4 elements under both rowsrc and rowdest.

    My secondary datasource receive data from a REST web service. Anyone got a clue why I got this error?

    regards

    Philip Saxegaard

    Filed under:
  • 04-22-2013 05:24 AM In reply to

    Re: Copytable from a secondary datasource

    Just to make sure, could you attach a screenshot of your source and destination data source?
    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
  • 04-22-2013 05:33 AM In reply to

    Re: Copytable from a secondary datasource

    Well - In your answer I found the answer... Thank you :)

    Problem was that my rowsrc was a repeating FIELD, but my rowdest a repetaing GROUP. Changing my main to match the secondary made my form work. Had to create a repeating field instead of a repeating group...whick is the default when you ask infopath to create a repeating table.

    tnk again

    Philip Saxegaard

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