Setviewinfo on the web

I want to use the details in a field on a form on one database (moduleName) to link to the documents that match it on another.

The following works in the Notes Client:-

@Command([FileOpenDatabase];“server”:“schedules”;“SearchView”;modulename);

@SetViewInfo([SetViewFilter];moduleName;“module”;1)

but not on the web.

Any ideas how to get this to work?

Subject: setviewinfo on the web

The answer is to avoid setviewInfo altogether for the web and use the ?OpenView&RestrictToCategory= as a parameter to the @URLOpen() function as in:-

url := “Schedules.nsf/SearchView/?OpenView&RestrictToCategory=”+moduleName;

@URLOpen(“http://server.scl.com/dir/”+url)

This problem has mithered me for a while and I got the hint from looking at this forum.