![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I want to process some records and since an email may have been read or
unread, is the best way to process selected records is by using the FlagStatus property? Are the states of this property 0 (not set), 1 (completed), and 2 (incomplete)? |
Ads |
#2
|
|||
|
|||
![]()
I am not quite clear what your question is. Each MailItem object has an
UnRead property if this is what you are looking for? -- Alan Moseley IT Consultancy http://www.amitc.co.uk If I have solved your problem, please click Yes below. Thanks. "Salad" wrote: I want to process some records and since an email may have been read or unread, is the best way to process selected records is by using the FlagStatus property? Are the states of this property 0 (not set), 1 (completed), and 2 (incomplete)? |
#3
|
|||
|
|||
![]()
The OlFlagStatus enum is olNoFlag (0), olFlagComplete (1) and olFlagMarked
(2). Process for what? Why does unread or read have anything to do with the flag status? As Alan mentioned you can use the Unread property if you want to know read/unread status. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Salad" wrote in message news ![]() I want to process some records and since an email may have been read or unread, is the best way to process selected records is by using the FlagStatus property? Are the states of this property 0 (not set), 1 (completed), and 2 (incomplete)? |
#4
|
|||
|
|||
![]()
Ken Slovak - [MVP - Outlook] wrote:
The OlFlagStatus enum is olNoFlag (0), olFlagComplete (1) and olFlagMarked (2). Process for what? Why does unread or read have anything to do with the flag status? As Alan mentioned you can use the Unread property if you want to know read/unread status. Thanks Ken & Mark. Sorry about the confusion. I shouldn't have mentioned read/unread status in my original post. I'm writing some VBA code that will be run from Access and read some Outlook data. When iterating thru emails I knew about the read/unread flag. But that wouldn't help me out much because emails I wanted to process may have/havenot been read. I wanted to look at some other method to know which emails to process and stumbled across FlagStatus. It seemed to be a perfect method of determining if something should be processed...similar to a Yes/No question in a survey. I'm a beginner in Outlook programming. I'm so new to Outlook I wouldn't even know where to find your constants you listed above (they weren't in the helpfile). But since I now have them, I'll use them. Thanks. One last thing, do you know if FlagStatus has been available in earlier versions of Outlook...prior to Outlook 2003? |
#5
|
|||
|
|||
![]()
FlagStatus is available in Outlook 2000, I don't have an earlier version
running here at the moment. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Salad" wrote in message m... snip Thanks Ken & Mark. Sorry about the confusion. I shouldn't have mentioned read/unread status in my original post. I'm writing some VBA code that will be run from Access and read some Outlook data. When iterating thru emails I knew about the read/unread flag. But that wouldn't help me out much because emails I wanted to process may have/havenot been read. I wanted to look at some other method to know which emails to process and stumbled across FlagStatus. It seemed to be a perfect method of determining if something should be processed...similar to a Yes/No question in a survey. I'm a beginner in Outlook programming. I'm so new to Outlook I wouldn't even know where to find your constants you listed above (they weren't in the helpfile). But since I now have them, I'll use them. Thanks. One last thing, do you know if FlagStatus has been available in earlier versions of Outlook...prior to Outlook 2003? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question for MVP Ken | pjerling | Add-ins for Outlook | 4 | September 29th 07 09:42 AM |
Question | Inese Vauhkonen | Outlook Express | 1 | March 13th 07 12:49 PM |
question | Patrick Lemaire | Outlook Express | 1 | January 10th 07 08:10 PM |
ACL-Question | Peter Marchert | Outlook and VBA | 4 | November 9th 06 12:22 PM |
OE Question | Wayne | Outlook Express | 3 | May 21st 06 04:00 PM |