CFMX 7 report tool extention for dreamweaver

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default CFMX 7 report tool extention for dreamweaver

    For thos with CFMX7 using the dreamweaver report extension here is the
    challenge. 1) write a report that queries a access database using a where
    clause that uses a variable as the input where the column datatype is 'Date'.
    I can't seem to do it. Any Geniuses out there who are smarter than me please
    help!!!! I have tried without success to query a access database using a date
    field as a constraint & a variable. example 1 select unitname,
    sum(revenue) as revenuetotal, sum(runlength) as runtime where (wr.id='#id#'
    and rundate < #startdate#) group by unitname example 2 select unitname,
    sum(revenue) as revenuetotal, sum(runlength) as runtime where (wr.id='#id#'
    and rundate < #2/1/2005#) group by unitname example 1&amp; 2 will both work in
    the test mode, but only example 1 will work in an actuall CFMX7 report. the
    date field, can't be passed for some reason as a parameter. the # signs are
    required, and even if I embed the # signs in the parameter and pass them, it
    won't work, other than when I test the query. I can pass parameters to every
    field except a date field. I can query the database using cfml without a
    problem, it is just in the report that is driving me nuts!! I am hoping that I
    am just overlooking something. Those of you who use the report tool will run
    into this sooner or later, help me solve this one now. Thanks, Jeremy Merritt

    Boise-J-Man Guest

  2. Similar Questions and Discussions

    1. Dreamweaver Extention
      Hi, I'm doing an Insert Bar Menu. There are different menus. Everything looks good. My only problem is that the first menu installs all the other...
    2. Using Report Builder as a client based tool?
      Hi, I am trying to work out if it's feasible to give report builder to clients to build their own bespoke reports. The issue seems to revolve...
    3. Embed Crystal Report into Dreamweaver MX 2004
      Hi everyone, I need to embed crystal report files into my ASP file. Can anyone help me with tihs? Thks!
    4. CFMX 7 Accordian with Dreamweaver
      I'm using dreamweaver extensions and CFMX 7 to build an accrodian form layout. Does the accordian submit as one form or can you have a different...
    5. Dreamweaver Extention Development Environment
      I am developing a dreamweaver (MX 2004) extension. Every time I change the content in a javascript file under the Configuration folder, I have to...
  3. #2

    Default Re: CFMX 7 report tool extention for dreamweaver

    Boise-J-Man wrote:
    > For thos with CFMX7 using the dreamweaver report extension here is the
    > challenge.

    What report extension is that? I don't see one listed:
    [url]http://www.macromedia.com/software/coldfusion/productinfo/features/static_tour/development/dw_ext.html[/url]


    Do you perhaps mean the report Builder application?:
    [url]http://www.macromedia.com/software/coldfusion/reporting/[/url]

    If not, which one are you talking about?
    > 1) write a report that queries a access database using a where
    Dates in Access require a # around them through SQL, so with CF which takes # symbols as an escape character for variable values, you'd need to use something like the following:
    ###startdate###


    --
    Danilo Celic
    | Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
    | Team Macromedia for Dreamweaver : [url]http://macromedia.com/go/team/[/url]
    danilocelic *TMM* Guest

  4. #3

    Default Re: CFMX 7 report tool extention for dreamweaver

    Thanks! My complete query is as follows SELECT UnitName, sum(Revenue) as
    rev, sum(RunTimeTotal) as rtt FROM AllActivity where ((id='#ID#') and
    ((datestamp > ###startdate###) and (datestamp <
    ###enddate###))) group by unitname ORDER BY UnitName Note the ###'s I
    wasn't able to make the report function while the query was embedded in the
    report. Once I removed it and used the above query in the .cfm file it worked.
    Thanks. Jeremy Merritt

    Boise-J-Man Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139