Birthday Report Problems & Crash
Posted: Sat Oct 17, 2009 5:49 pm
Problems with the Birthday report (I use International not American Dates in version 6.6.27).
1. The displayed dates are month/day, but If I click Preview, with the selected dates (11/01, 11/30), it responds, "To date cannot be before From date".
2. The displayed dates are month/day, but if I enter a new date in that format, eg 11/16, the date is highlighted yellow. So I must enter it in the international format 16/11, upon which the program promptly changes it back to 11/16, and then 30/11 is changed back to 11/30.
3. Now (after changing the dates) when I click preview, it generates a preview of only 17 post cards with "Dear xxx. Happy -1916th Birthday! You are now -1916 years old, and several other negative dates. Only 17 persons when the Birthday Query returns 194 persons with the same date range.
4. If I click Report (after selecting 11/16 -11/30), it generates a list of 17 names with birthdates all listing "01/01/year" and ages "1-year" eg 01/01/1917 -1916
5. The Birthdays Report crashes if I click "Next Month -->".
************** Exception Text **************
System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: months
at System.DateTime.AddMonths(Int32 months)
at OpenDental.FormRpBirthday.butRight_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at OpenDental.UI.Button.OnClick(EventArgs ea)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
1. The displayed dates are month/day, but If I click Preview, with the selected dates (11/01, 11/30), it responds, "To date cannot be before From date".
2. The displayed dates are month/day, but if I enter a new date in that format, eg 11/16, the date is highlighted yellow. So I must enter it in the international format 16/11, upon which the program promptly changes it back to 11/16, and then 30/11 is changed back to 11/30.
3. Now (after changing the dates) when I click preview, it generates a preview of only 17 post cards with "Dear xxx. Happy -1916th Birthday! You are now -1916 years old, and several other negative dates. Only 17 persons when the Birthday Query returns 194 persons with the same date range.
4. If I click Report (after selecting 11/16 -11/30), it generates a list of 17 names with birthdates all listing "01/01/year" and ages "1-year" eg 01/01/1917 -1916
5. The Birthdays Report crashes if I click "Next Month -->".
************** Exception Text **************
System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: months
at System.DateTime.AddMonths(Int32 months)
at OpenDental.FormRpBirthday.butRight_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at OpenDental.UI.Button.OnClick(EventArgs ea)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)