Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / November 2006

Tip: Looking for answers? Try searching our database.

Sort repeating table -- revisited

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neal - 05 Nov 2006 20:21 GMT
I have been struggling to adapt code in the Asset Tracking sample so that I
can sort data in a repeating table on my form, but have reached the
hair-pulling stage.  I have recreated the asset tracking form, copied all the
relevant code and duplicated the data source structure but when I click on
the sort button, nothing happens.  The only thing I cannot duplicate on my
clone form is the digital signature element. Is the necessary for the sort
function to work? (When I make a copy of the Asset Tracking form, it works,
but you are not allowed to modify the schema in the sample.)
Any help with the solution in the sample would be appreciated, as would any
other method for sorting data in a repeating table.
Thanks,
Neal Engledow
Russ - 06 Nov 2006 16:24 GMT
I ran into a similar problem.  Check if your button's onClick event is even
getting triggered- place an XDocument.UI.Alert into the function handler of
the button.  What happened to me is that the script did not recognize the
onClick event of the button until I explicitly added that event through the
button's properties dialog (select "rules and custom code" from the action
menu, then click "edit form code" to insert the onClick function handler).

> I have been struggling to adapt code in the Asset Tracking sample so that I
> can sort data in a repeating table on my form, but have reached the
[quoted text clipped - 8 lines]
> Thanks,
> Neal Engledow
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.