I should mention that I am not quite the programmer that I used to be.
Can I just call that line in a javascript function (see below)? Do I
have to set any objects?
function SwitchViews()
{
window.external.Window.XDocument.View.SwitchView(A) ;
}
j_boatman@hotmail.com - 03 Jun 2005 23:58 GMT
I get the following message:
'window.external.Window.XDocument.View' is null or not an object
Anton L - 04 Jun 2005 00:42 GMT
Doing it through a function should be fine.
Are you sure you are passing the name of the view as a string [using ""]?
j_boatman@hotmail.com - 04 Jun 2005 00:59 GMT
I just hard coded it for test purposes and still get the error...below
is exactly what I have.
function SwitchViews()
{
window.external.Window.XDocument.View.SwitchView("A");
}
Where A is the name of my view.