Phil, you are using the Remove method of MessageList. Since MessageList is only a snapshot of the messages in the
message DB, the messages won't get deleted from the DB. You can use the Item method of MessageList to get individual
messages and subsequently call Delete on the Message object. Hope this solves your problem.

Saurabh

-----Original Message-----
From: gwc3po-dev-bounces@forgefillstage.provo.novell.com
[mailto:gwc3po-dev-bounces@forgefillstage.provo.novell.com]On Behalf Of
Shane@opensourcestage.provo.novell.com
Sent: Wednesday, October 06, 2004 3:40 AM
To: gwc3po-dev@forgefillstage.provo.novell.com
Subject: Re: Deleting Selected Messages


What do you mean when you say 'isn't working'? Are you receiving a
specific error?

Regards,

Shane

In article <v3KWc.4039$Zi4.3633@prv-forum2.provo.novell.com>,
philip.pitman@techne-comm.co.uk says...
> How do delete selected messages from ClientState.SelectedMessage?
>
> Below is some sample code which isn't working
>
> Set SelMsgs = g_C3POManager.ClientState.SelectedMessages
> do while SelMsgs.Count<>0
>
> ...processing
>
> SelMsgs.Remove 1
> wend
>
> Thanks
>
> Phil.
>