Hello Brian,

Here is an example of doing what you're looking to do.
You need to supply the real path to the BIRTHDAYS.INI file
and you need to fill it out to include ALL MONTHS and ALL DAYS
as well as ALL USERS with their Birthday on that month and day.

It is possible to do this other ways, but this should suffice or at least give you a little more insight on how it can be done.

Hope this helps, if you have questions please don't hesitate to ask. The Piranha members around here will be happy to help. [Smile]

DisplayBirthdays.kix



$Y = SUBSTR(@DATELEN(@DATE) - 94)
$M = SUBSTR(@DATELEN(@DATE) - 42)
$D = SUBSTR(@DATELEN(@DATE) - 12)
$MyFile=("C:\TEMP\birthdays.ini")
$Birthdays=ReadProfileString ($MyFile$M$D)
$AlertBD=MessageBox("Today is "+@DATE+@CRLF+"Happy Birthday to "+$Birthdays"Happy Birthday"64)



birthdays.ini


[01]
01=John Doe
02=Bill Smith
03=Brian Wilson
04=George Garthy
05=Jane Doe
[02]
01=John MillerJack Black
02=Karen Gleason
[03]
01=Wendy Feiten
02=Brad Jones
[04]
01=Greg Engle
02=Tim Vinter
03=Beth Angel
[05]
01=Carl Celt
02=Kevin EmpireAndy Burke
03=Helen Birch
04=Celine WelshBart Sordel