freelanceprogrammers.org Forum Index » Cold Fusion

Output Format in HTML


View user's profile Post To page top
morris_f._grissom@xxx.xxx Posted: Fri Feb 19, 1999 2:47 am


Joined: 19 Feb 1999

Posts: 8
Output Format in HTML
Can anyone tell me what to tell CF in order to get the following
results in HTML?

Region 1
Hotel xxxxxxxx
Meals xxxxxxxx
Airfare xxxxxxxx

Subtotal: xxxxxxxx

Region 2
Hotel xxxxxxxx
Meals xxxxxxxx
Airfare xxxxxxxx

Subtotal: xxxxxxxxx

Grandtotal: xxxxxxxxxxx

I found that the group command does not work within a cftable tag or
at least I can`t make it work....
Reply with quote
Send private message
View user's profile Post To page top
billw@xxx.xxxxxxxxxxxx.xx Posted: Fri Feb 19, 1999 8:36 am


Joined: 19 Feb 1999

Posts: 1
Output Format in HTML
Morris,

How familiar are you with HTML? I ask because you might not want to use
the CFTABLE tag for your project. It`s a great shortcut, but sometimes
you have to dive into HTML to get exactly what you want. The grouping
attribute will work in conjunction w/CFOUTPUT and you can output your
table rows using it to get the desired result. Also, it looks like
you`ll need to make use of aggregate functions in SQL to get the columns
of figures to `pre-add` before being output by CF.

I hope this helps a little. If you don`t already have Ben Forta`s
marvelous "Cold Fusion 4 Web Application Construction Kit" book, I`d
highly recommend it. He assumes you are starting pretty much from
scratch with CF, and does a great job of explaining solutions to
problems very much like yours. And no, I don`t have any sort of stake in
the book`s success (wish I did), I`m just bullish about anyone or
anything that helps me get my job done. Ben easily fits that category.

--Bill Womack
Lead Developer
Grady Britton Interactive

morris_f._grissom@... wrote:
>
> From: morris_f._grissom@...
>
> Can anyone tell me what to tell CF in order to get the following
> results in HTML?
>
> Region 1
> Hotel xxxxxxxx
> Meals xxxxxxxx
> Airfare xxxxxxxx
>
> Subtotal: xxxxxxxx
>
> Region 2
> Hotel xxxxxxxx
> Meals xxxxxxxx
> Airfare xxxxxxxx
>
> Subtotal: xxxxxxxxx
>
> Grandtotal: xxxxxxxxxxx
>
> I found that the group command does not work within a cftable tag or
> at least I can`t make it work....
>
> ------------------------------------------------------------------------
> To unsubscribe from this mailing list, or to change your subscription
> to digest, go to the ONElist web site, at http://www.onelist.com and
> select the Member Center link from the menu bar on the left.

--
- - - - - - - - - - - - - - - - - - - - - - -
Grady Britton, http://www.gradybritton.com
ph:503.228.4118 fax:503.228.3025
Reply with quote
Send private message
View user's profile Post To page top
saria@xxxxxxx.xxxx Posted: Fri Feb 19, 1999 10:53 am


Joined: 28 Jan 1999

Posts: 24
Output Format in HTML
Do you have Cold Fusion Studio set up?
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help