SortTable Command Removes Numeric Entries - InfoPath Dev
in

InfoPath Dev

SortTable Command Removes Numeric Entries

Last post 02-28-2013 10:38 AM by britgeek. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-28-2013 10:26 AM

    SortTable Command Removes Numeric Entries

    Hi There,

    Whenever I run the sort table command, the table sorts correctly, but all numeric values are removed from the table.

    This also includes the ID.

    Help?

  • 02-28-2013 10:36 AM In reply to

    Re: SortTable Command Removes Numeric Entries

    Do you have a rule on the group you are sorting?

    Sorting actually deletes and re-inserts the nodes - which means if you have a rule on the group, it will fire when the nodes are re-inserted.

    I usually use a secondary data source (XML file) for conditions for this - I have a node called "isSorting" and set it to true right before I sort, and back to false after. Then I can set rules on the group that only execute if isSorting = false. Make sense?

    Hilary Stoupa

  • 02-28-2013 10:38 AM In reply to

    Re: SortTable Command Removes Numeric Entries

    You are correct, it is a rule firing.

    Thanks!

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