Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Boise-J-Man #1
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& 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
-
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... -
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... -
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! -
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... -
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... -
danilocelic *TMM* #2
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?
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:> 1) write a report that queries a access database using a where
###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
-
Boise-J-Man #3
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



Reply With Quote

