/t5/coldfusion-discussions/query-of-query-count-column-returns-blank-not-zero/m-p/89871#M8941Nov 07, 2008
Nov 07, 2008
Copy link to clipboard
Copied
Thank you for your quick rude response. They are not nulls.
Did I say nulls? I said no records match the query. That results in
a zero in every database I've used in the last 25 years. So are you
still telling me this is normal query behavior?
/t5/coldfusion-discussions/query-of-query-count-column-returns-blank-not-zero/m-p/89874#M8944Nov 07, 2008
Nov 07, 2008
Copy link to clipboard
Copied
Azadi, yes, thanks for the link. I logged it. It has to be
such a simple fix I can't believe that it's been years.
Bob - my workaround was probably less annoying to do. I do a
select of any column and then used QofQ.RecordCount instead of the
QofQ.countqueryvariable
/t5/coldfusion-discussions/query-of-query-count-column-returns-blank-not-zero/m-p/89875#M8945Nov 09, 2008
Nov 09, 2008
Copy link to clipboard
Copied
LATEST
> This appears to be a bug.
Yep.
> Query of Query count(column) returns blank not zero when
there are no matches.
> With matches works fine.
>
> e.g. select count(i_id) from PersonnelQuery where i_id
< 100
>
> Where does one report these?
Just FYI... I've made sure the Adobe bods on the CF9
programme are aware of
this. UInfortunately I cannot relay back what action is being
taken, or
even *if* any action is being taken (I've signed the usual
NDA carry-on),
but they're aware of it.