Automation error with view control

T

technobob

I'm the not sure if I'm posting to the correct group, please advise.

I'm using a Outlook View control on an Access form. I have command
buttons that change the view from Task to Calendar.

I'm using Access 2003 and Outlook 2003.

Private Sub Command42_Click()
With ViewCtl1
.Folder = "Calendar"
End With
End Sub

Private Sub Command43_Click()
With ViewCtl1
.Folder = "Tasks"
End With
End Sub

I can switch back and forth just fine, except when I click on a
calendar appointment to view the details. The next time I click to
switch back to a Task view, I get the following error...

-1456340983 (a9320009) Automation error.

I've tried searching those errors codes without any luck.

Any suggestions would be greatly appreciated!

Thanks,

Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top