Public Folder home page with Outlook View Control and Restriction problem 
Author Message
 Public Folder home page with Outlook View Control and Restriction problem

I have a home page with an OVC embedded, and I'm trying to create
command buttons that will filter by the [Categories] field. With the
code below I am getting an error message, "Unspecified error"
referring to the line that sets the restriction. I have a custom view
set on the folder.

<HTML>
<HEAD>
<SCRIPT language="VBScript">
Sub showCategory(strSearch)
Dim strRestrict
strRestrict ="[Categories]='" & strSearch & "'"
ViewCtl1.Restriction = strRestrict
End Sub
</SCRIPT>
</HEAD>
<BODY>
<img src='CCLOGO.GIF' height='10%'>
<TABLE WIDTH='100%'>
<TR><TD ALIGN='right'>
<A href="KMAdmin.asp">Admin?<%=CHR(187)&CHR(187)%></A></TD></TR></TABLE>
<FONT size=5>Systems Knowledge Management</FONT>
<object ID="ViewCtl1"
CLASSID="CLSID:0006F063-0000-0000-C000-000000000046"
        style="width:100%;height:82%"

</object>
<input type=button name='btnHardware' value='Hardware'
onclick="showCategory('Hardware')" ></input>
</BODY>
</HTML>



Sun, 13 Mar 2005 01:30:44 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Outlook View Control & Folder Home Page

2. Disable Public Folder Home Page Property tab;

3. Home page setting for outlook folders..?

4. Calling a form from outlook today folder home page

5. restriction-property of outlook view control

6. Outlook View control - accessing folders other than Default Folder

7. Creating a web page that accesses public folders in outlook

8. Digital Dashboard/Folder home page problems...

9. Problem with posting outlook customise form in public folder

10. Outlook View Control Folder to a subfolder

11. Outlook View Control Folder Property

12. Team Folders and Outlook View Control

 

 
Powered by phpBB® Forum Software