• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

QoQ in Components

Guest
Sep 01, 2006 Sep 01, 2006

Copy link to clipboard

Copied

I'm trying to run a query of query in a component. This component invokes the basic query from another component. In the QoQ I would like to filter some data and rearrange the ORDER BY clause. But it seems not working. The result is always the same as from the basic query. Having the QoQ in a cfm Template it works fine. Is it per definition not possible to run a QoQ across components? Any experience available?
TOPICS
Advanced techniques

Views

322

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Sep 01, 2006 Sep 01, 2006
Don't post all your code, but do show us:

How you get the query from the other component.
The cfquery tag for your Q of Q
The code that makes you think the results are wrong.

Votes

Translate

Translate
LEGEND ,
Sep 01, 2006 Sep 01, 2006

Copy link to clipboard

Copied

Don't post all your code, but do show us:

How you get the query from the other component.
The cfquery tag for your Q of Q
The code that makes you think the results are wrong.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 01, 2006 Sep 01, 2006

Copy link to clipboard

Copied

LATEST
Dan, thanks for your reply - it already helped. While putting together the code snippets I realized that I returned the wrong query. No wonder that it didn't work. I corrected it meanwhile and it works perfectly!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 01, 2006 Sep 01, 2006

Copy link to clipboard

Copied

LATEST
Dan, thanks for your reply - it already helped. While putting together the code snippets I realized that I returned the wrong query. No wonder that it didn't work. I corrected it meanwhile and it works perfectly!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation