The eccoMAGIC Forums
http://forums.eccoMAGIC.com/forum/YaBB.pl
the SLANG EXTENSION and Guest Programming >> Slang Rules Scripts, Functions, Examples and HOW TO >> Get active date (even if is a recurring date...)
http://forums.eccoMAGIC.com/forum/YaBB.pl?num=1486938753

Message started by Admin on 02/12/17 at 16:32:33

Title: Get active date (even if is a recurring date...)
Post by Admin on 02/12/17 at 16:32:33




Code:
iff(GNRD(Date_Folder), iff(!GPRD(Date_Folder) OR GPRD(Date_Folder) < [Done] ,GNRD(Date_Folder),GPRD(Date_Folder)) , [Date_Folder])



will return the active date of the Date_Folder even if the date is a recurring date.

If the date_folder uses unusual characters,  you can put in quotes,  such as:  GNRD("Odd Date Folder Name !()")


The eccoMAGIC Forums » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.