CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Appserv

Print topic Send  topic

Author Message
adorni

Posts: 120
Posted: 01/04/2012, 12:45 PM

I install today Appserver 2.5.10 and i see in my CCS 4.3 applications this:

"Database Error: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause "

How i can resolve this?

Thanks
View profile  Send private message
mor

Posts: 119
Posted: 01/05/2012, 1:25 AM

Maybe you use incorrect SQL query (multiple COUNT()/MIN or MAX without GROUP BY)?
Please post your query here. :)
_________________
Mor ve Ötesi
View profile  Send private message
adorni

Posts: 120
Posted: 01/05/2012, 4:06 AM

Yes, but in the previous version (XAMPP 1.7.3) all works fine... is possible?
View profile  Send private message
mor

Posts: 119
Posted: 01/05/2012, 4:35 AM

Latest XAMPP and Appserver includes different versions of MySQL (5.0.24a and 5.0.51b). You receive error from database about incorrect SQL. Maybe problem in updated MySQL?
1. You can try latest MySQL Server (5.5.19)
2. Use stable XAMPP
3. check SQL query
_________________
Mor ve Ötesi
View profile  Send private message
adorni

Posts: 120
Posted: 01/05/2012, 2:55 PM

mor, a add the SQL from CCS Visual query:

SELECT Count(Solicitud) AS Puntos_Count, MesComercialMapemfi
FROM scoringdetallado INNER JOIN puntos ON
scoringdetallado.`Lugar de la operacion` = puntos.ID
WHERE puntos.ID <> {Expr0}
AND scoringdetallado.MesComercialMapemfi = {s_MesComercialMapemfi}
ORDER BY `Punto de Venta`

Thanks

PD: i don`t understand nothing about sql :)
View profile  Send private message
cleyan


Posts: 136
Posted: 01/23/2012, 1:23 PM

Te falta el group by

prueba con

  
  
SELECT Count(Solicitud) AS Puntos_Count, MesComercialMapemfi  
FROM scoringdetallado INNER JOIN puntos ON  
scoringdetallado.`Lugar de la operacion` = puntos.ID  
WHERE puntos.ID <> {Expr0}  
AND scoringdetallado.MesComercialMapemfi = {s_MesComercialMapemfi}  
GROUP BY MesComercialMapemfi  
ORDER BY `Punto de Venta`  

Sin contar que no el la mejor idea usar espacios y mayusculas en los nombres de campos

Saludos


Carlos
_________________
**************************************************
Carlos Leyan B.
Temuco, Chile
www.leytec.net
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.