Sorting items in a repeating list

  • Thread starter Andrew Caplinger
  • Start date
A

Andrew Caplinger

In InfoPath, is is possible to sort items in a repeating table or repeating
section? I'm adding Expense Report line items, and I'd like to have the
results sorted by date, without having to enter them in date order.

TIA.

-Andrew
 
J

Josh Bertsch [MSFT]

You will have to write this in code, but it is very doable. In fact, you
can just steal the code from the "Asset Tracking" solution provided as an
example with InfoPath. Just open the solution up in the Designer, double
click on the sort button, and look at it's OnClick() event.

--josh bertsch
 
A

Andrew Caplinger

Thanks, Josh. If the web-based newsreader had found the previous reference
(which I found later with a REAL newsreader) I wouldn't have asked what I
would presume to be a FAQ. Thanks Again.

-Andrew
 
T

Tim Philomeno

Josh,

So I must be missing something...I am not finding the "Asset Tracking"
solution anywhere....Is it part of the SDK or what..???? Can I download it
from somewhere?

Thanks

Tim Philomeno, Sparling, Inc.
 
M

Mike

I have Infopath 2007 and I have the Asset Tracking sample--but I do not see a
Sort button. Was it removed for the 2007 version?

Greg Collins said:
This ships as part of InfoPath... just launch InfoPath and click Sample Forms on the top left of the Fill Out A Form dialog box.

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Josh,

So I must be missing something...I am not finding the "Asset Tracking"
solution anywhere....Is it part of the SDK or what..???? Can I download it
from somewhere?

Thanks

Tim Philomeno, Sparling, Inc.

Josh Bertsch said:
You will have to write this in code, but it is very doable. In fact, you
can just steal the code from the "Asset Tracking" solution provided as an
example with InfoPath. Just open the solution up in the Designer, double
click on the sort button, and look at it's OnClick() event.

--josh bertsch
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top