![]() |
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 |
#2
|
|||
|
|||
![]()
That's a real hum-dinger! I don't think this is possible, primarily because
you'll always be doing a conditional evaluation on a transformed date. And from what I remember, there are no VBA-like functions available to do this. If you could use VBA, I think it would equate to this: DateSerial(Year(Today()),Month("urn:schemas:contac ts:bday"), Day("urn:schemas:contacts:bday")) = Today() AND DateSerial(Year(Today()),Month("urn:schemas:contac ts:bday"), Day("urn:schemas:contacts:bday")) = Today(604800)) The only supported SQL function in DASL that I know of is CAST, but that doesn't help us extract a date fragment for an evaluation. Andew Delin has a list of the supported date functions (this is where I got the Today(604800) offset trick from): Andrew Delin's WebLog : Doing more with Outlook filter and SQL DASL syntax: http://blogs.msdn.com/andrewdelin/ar...11/416312.aspx -- Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "rainer.100" wrote: I have got a problem with DASL I could not solve anytime. I want to create a user defined view for my Outlook Contacts. This view has to show me all friends who have birthday in the next seven days. So I can send them a letter by using serial letters with MS Word. By using the Filter-Generator in Outlook (I am German and I don't know the englisch words) I can create this string %next7days("urn:schemas:contacts:bday")% By using this string Outlook compares only birthdates in the current year. What is the syntax in DASL to create a query like this? next7days(day(bday) & "." & month(bday) & "." & year(now())) I hope you have the answer or you know a link with it. Thanks in advance Rainer |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DASL filters 2007 not retained | [email protected] | Outlook - Using Contacts | 6 | July 25th 07 06:43 AM |
Please fix a new bug in the user-defined DASL filter in Outlook 20 | ericmkcc | Outlook - Using Contacts | 1 | July 9th 07 04:37 PM |
DASL Filter on custom property | Jeff Graves | Add-ins for Outlook | 0 | April 8th 07 04:58 AM |
Filter out All Contacts that have birthday in 5 days | Bert_Bert | Outlook - Using Contacts | 0 | August 24th 06 12:32 PM |
DASL Filters!!!! | Radiohead | Add-ins for Outlook | 2 | February 21st 06 02:40 PM |