Recumbent bicycles · Public discussion

Query of Query in MX

Started by Cletus Lee · · Last activity · 2 posts · 979 views

Thread details

What we know about this thread

Original section
Recumbent bicycles
Published
30 June 2004
Last activity
30 June 2004
Original author
Cletus Lee
Posts
2
Discussion status
Public discussion
Total views
979
Views / 30 days
0

The navigation and discussion metadata provide context. Posts remain in their original chronological order.

Showing posts 1–2 of 2
Posts remain in their original chronological order.

Text size
  1. I have a query of a query that runs fine in CF 5.0.

    <cfquery dbtype="query" name="Qloop"> SELECT Term, Course,
    [Section], EvalWhat ,Total FROM StudAnsCt WHERE Term =
    #TERM# AND Course = '#trim(StudentCount.Course)#' AND
    Section = '#StudentCount.section#' </cfquery>

    It resolves to: SELECT Term, Course, [Section], EvalWhat
    ,Total FROM StudAnsCt WHERE Term = 20041 AND Course =
    'NURS3521' AND Section = '100'

    In CF MX, I get this error: <br><b>Query Of Queries syntax
    error.</b><br> Encountered "Section" at line 0, column 0.
    Incorrect conditional expression, Expected one of
    [like|null|between|in|comparison] condition,

    Thinking that QoQ might be interpreting Section as a
    reserved word, I have tried it as [Section] and as "Section"
    Both of these produce other syntax errors.

    How can I fix this?
    --

    Cletus D. Lee clee.orgclee.org
    - Bellaire, TX USA -

  2. First you need to adjust the deraileur. Then replace the
    front chanring so you have a 52/39/26 That should do it

    "Cletus Lee" <[email hidden]> wrote in message
    "]news:[email hidden]...

    Quoted message said:

    I have a query of a query that runs fine in CF 5.0.

    <cfquery dbtype="query" name="Qloop"> SELECT Term, Course,
    [Section], EvalWhat ,Total FROM StudAnsCt WHERE Term =
    #TERM# AND Course = '#trim(StudentCount.Course)#' AND
    Section = '#StudentCount.section#' </cfquery>

    It resolves to: SELECT Term, Course, [Section], EvalWhat
    ,Total FROM StudAnsCt WHERE Term


    = 20041 AND Course =

    Quoted message said:

    'NURS3521' AND Section = '100'

    In CF MX, I get this error: <br><b>Query Of Queries syntax
    error.</b><br> Encountered "Section" at


    line 0, column 0. Incorrect

    Quoted message said:

    conditional expression, Expected one of
    [like|null|between|in|comparison]


    condition,

    Quoted message said:


    Thinking that QoQ might be interpreting Section as a
    reserved word, I have


    tried it as [Section]

    Quoted message said:

    and as "Section" Both of these produce other syntax
    errors.

    How can I fix this?
    --

    Cletus D. Lee clee.orgclee.org
    - Bellaire, TX USA -

Active in the last 60 minutes

Active in this thread

0 users · 0 guests ·0 bots ·0 total

No signed-in users are active right now.

No known search crawlers active right now.