Bug in GetToSend() function in ApptComms.cs

This forum is for programmers who have questions about the source code.
Post Reply
User avatar
mopensoft
Posts: 146
Joined: Tue Dec 04, 2012 3:33 pm
Location: Melbourne, Australia
Contact:

Bug in GetToSend() function in ApptComms.cs

Post by mopensoft » Thu Feb 11, 2016 9:58 pm

I found a bug in the SQL query.

Code: Select all

string command="SELECT * FROM apptcomm WHERE DateTimeSend BETWEEN "+POut.DateT(dateTimeStart)+" AND "+POut.DateT(dateTimeEnd)+")";
The last ")" causes error. Please remove it.

Code: Select all

string command="SELECT * FROM apptcomm WHERE DateTimeSend BETWEEN "+POut.DateT(dateTimeStart)+" AND "+POut.DateT(dateTimeEnd);

User avatar
dgraffeo
Posts: 147
Joined: Wed Sep 24, 2014 3:19 pm

Re: Bug in GetToSend() function in ApptComms.cs

Post by dgraffeo » Fri Feb 12, 2016 9:43 am

Ah yep thanks for the heads up! It's been fixed and will be available in 15.4.30
"To understand what recursion is, you must first understand recursion."

David Graffeo
Open Dental Software
http://www.opendental.com

Post Reply