Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cf_code_warrior #1
Query of Queries of ArrayNew?
I am very familiar with query of queries. But I think, maybe, I just
realized, you cannot create (in MX 6.1) a query of queries of a query that was
created using queryNew function? Can't be? Please? Any workarounds other
than ANOTHER queryNew kludge? I get an error ... Query Of Queries runtime
error.</b><br> <br><b>Query Of Queries runtime error.</b><br> Unsupported
Numeric type conversion in Query of Queries. And now this messge board is
crashing! Thanks, Robert
cf_code_warrior Guest
-
Need Help with Query of Queries
I have the query "almost" there but I'm not sure exactly how to accomplish this. I need all recrods meeting the criteria from the AppliedLicense... -
Query of Queries
I think that we're using 5 on both environments (not checked that though - they shouldn't be different anyway)... It seems that i've fixed it...... -
2 queries to 1 query
Hello, Can somebody help me to combine these two queries into one query. <cfquery datasource="#DATAS#" name="getMainNav"> SELECT * FROM... -
Query of Queries in 7.0
I am running MX 6.1 and was wondering of the QofQ problem still exists (in the new version, 7.0) where CF tries to guess at the column datatype... -
Query of Queries on query New type query
In CF5 we have a page that creates a query, using queryNew and querySetCell and the like, we then used dbtype="query" and gave it's name so we could... -
TA-Selene #2
Re: Query of Queries of ArrayNew?
I have found this to be true as well. Nor can you query of query a result set
that is stored in application or session scope. From my experience, the query
result must have been generated by cfquery, cfhttp, cfldap, etc.... and have
been physically run in the same page request as the query of query. <sigh>
TA-Selene Guest
-
Adam Cameron #3
Re: Query of Queries of ArrayNew?
> I have found this to be true as well. Nor can you query of query a result set
This is not the case at all. I do both, on a daily basis: QoQ a> that is stored in application or session scope. From my experience, the query
> result must have been generated by cfquery, cfhttp, cfldap, etc.... and have
> been physically run in the same page request as the query of query. <sigh>
queryNew()-created query which is stored in the application scope.
The OP's problem sounds like they've got nulls somewhere inconvenient to CF
(which would be almost anywhere, given how inconvenient CF finds nulls).
That said, I have also found one has to muck around with the
queryNew()-contrived query to get it to have the correct datatypes for its
columns - CF has to guess: something else it's pretty piss poor at.
The bottom line is... yes, you're right: you're going to have to kludge
about the place to get it to work.
Or throw your hands in the air in despair and effect your results some way
other than QoQ. Which is what I find myself doing in 6.1 quite a lot.
CF7 should be better... I was on the beta program (surely that's not
breaking the NDA?) and I tend to complain when I don't get my own way, if
you know what I mean ;-)
--
Adam
Adam Cameron Guest
-
cf_code_warrior #4
Re: Query of Queries of ArrayNew?
Adam Thanks for giving this old git a laugh for today. I too was on the 7
(Blackstone) beta. Have yet to deploy it to production for a) fear and b)
laziness. Oh and C) not bought a production license! I ended up doing another
array. Sod it! It was a 10 second workaround. Yes, the application scoped
var that I start with has nulls in it. But,. come on, that should not have to
work like the IRS. Anyhoooooo, got my problem solved for that hour. Did YOU
go production on 7.0? Might even go there this week. Robert
cf_code_warrior Guest
-
Adam Cameron #5
Re: Query of Queries of ArrayNew?
> Did YOU
Nope.> go production on 7.0?
Having been bitten on the bum quite profoundly by adopting 6.0 immediately
and then having to uncode a lot of work-arounds once 6.1 appeared, I
personally am going to hold off until 7.1.
That said, I don't make all the decisions around here, and I think the boss
wants to get his teeth into <cfdocument>, so we might have to jumps sooner
than that.
--
Adam
Adam Cameron Guest



Reply With Quote

