In your TOC style dialog, reorder the paragraph styles; Heading 1 before
Heading 2
thanks for the suggestion, but it didn't work, heading 1 is already
ordered before heading 2 in the TOC style dialog.
Indesign doesn't know that heading 1 is at the top of the page. The
TOC obviously only works from styles in single threaded frames
Found the solution to the problem. The workaround is described in this
post...http://groups.google.com/group/adobe.indesign.windows/
browse_thread/thread/569f9fb55cf44765/54f42a9fbfef7962?lnk=gst&q=TOC
+order#54f42a9fbfef7962