Thank you guys, I found the solution:
<cfquery datasource="#application.dsn#" name="q">
Select model, count(model) as Total
From vehicle
Group By model
</cfquery> <CFQuote>THE JOURNEY OF A 1000 MILES BEGINS WITH 1 STEP</CFQuote>
hello guys,
i have a db table called "vehicle", the table contains a field called "model". i wanna retrieve the count() for each model by one query. i want my query to output: count(Q45), count(X40), count(BMW2000), etc ....
How can i do this?
Thanks. <CFQuote>THE JOURNEY OF...
THIS FUNCTION GIVES AN ERROR IF YOUR DOCUMENT IS EMPTY
<script language="JavaScript">
<!--
var height;
var width;
if (document.all)
{
height = document.body.offsetHeight;
width = document.body.offsetWidth;
}
else if (document.layers)
{
height = window.innerHeight;
width =...
hello ... i like papaobba's solution. and this is another solution that you might be interested in.
http://developer.irt.org/script/6.htm <CFQuote>THE JOURNEY OF A 1000 MILES BEGINS WITH 1 STEP</CFQuote>
wow ... thanks alot dude ... it's working now.
<a href="javascript:window.opener.location.reload(1)">refresh parent</a> <CFQuote>THE JOURNEY OF A 1000 MILES BEGINS WITH 1 STEP</CFQuote>
hello ... is it possible to refresh parent window from child window where parent window has no name?! <CFQuote>THE JOURNEY OF A 1000 MILES BEGINS WITH 1 STEP</CFQuote>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.