in reply to Re:(4)What do you want to delete?
in thread Perl control of Outlook import to contacts with win32::OLE

This is very good - however what happens if Charbeneau does not exist in the contacts file. Can I do some sort of Last Name = C* to get to the beginning of the C's and then FindNext or how the the error condition be handled if there is not match. What I am attempting to do is allow my cgi to update this contacts file from our intranet. Thanks.

Replies are listed 'Best First'.
Re: Re: Re:(4)What do you want to delete?
by cacharbe (Curate) on May 29, 2002 at 22:45 UTC
    I would replace the complete last name with this:
    my $Cacharbes = $Contacts->Find("[LastName]>C and[LastName]<D ");

    C-.