I wrote two scripts that implement Peter's and Bob's excellent advice:
http://www.kahrel.plus.com/indesign/dynamic_endnotes.html
Thanks Peter G. and Bob!
Peter K.
Copyright © 2010 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).