============================== GenericCalendar.asp BugFix 1 ============================== Who Needs this Fix? ------------------- If you downloaded and installed GenericCalendar after 11/25/2001 you already have the fixed version of this file. You do not need to update! Description of the Problem -------------------------- Everything works fine so long as the event you want to add either begins and ends in the same month, or it begins one month and ends the next. The problem occurs when the event begins in one month and doesn't end until more than a month later (e.g. begins in August and ends in October). The event displays correctly in August and October, but never shows up in September. The Fix ------- Look for this code in GenericCalendar.asp (the first line blow should be about line 125. The first two lines below are already in the code, you need to add the third line. strCalendarDOWTextColor = Session("dbCalendarDOWTextColor") strWhere = "Month(StartDate) = " & Month(dEventDate) & " OR Month(EndDate) = " & Month(dEventDate) strWhere = strWhere & " OR (Month(StartDate) < " & Month(dEventDate) & " AND Month(EndDate) > " & Month(dEventDate) & ")" If this is too confusing I have the fixed GenericCalendar.asp file available for download... then you can just replace the original with the fixed version. Download the Fix ---------------- Follow these steps... 1. Download the file GenericCalendar.txt from http://code.lamarsoft.com/calendar/bugfixes/genericcalendar.txt 2. Rename it to genericcalendar.asp 3. Put it into your asp folder, replacing the current version of the file. 4. That's it, go ahead and try it! ======================================== LaMarSOFT Handmade Software Solutions =========================== Douglas LaMar 154 Carlisle Way Sunnyvale, CA 94087-3213 dlamar@lamarsoft.com www.lamarsoft.com 866-541-5922 Toll-Free 408-735-1845 FAX