Ok so I'm following this guide -
http://www.infopathdev.com/blogs/matt/archive/2005/11/29/Repeat-Table-Headers-Across-Multiple-Printed-Pages.aspx
However I'm a little confused. At the part that says:
Add the OnSwitchView event handler code:
- Choose Programming | On Switch Views Event from the Tools menu.
- In the Microsoft Script Editor, replace the contents of the OnAfterChange event handler with the following code:
What does it mean by OnAfterChange? I don't see any such event handler. When I clicked On Switch Views event this is what it gave me:
XDocument.DOM.setProperty("SelectionNamespaces", 'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2007-07-13T19:06:26" xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"');
function XDocument::OnSwitchView(eventObj)
{
// Write your code here
}
So either I'm confused, or these instructions aren't for Infopath 2003? I mean I must be missing something.