).
The problem I've run into is that when I output results using cfoutput
query="myquery", it generates an extra line return at the end of the text
file that I created. When I bring the output.csv file into Microsoft Excel,
it comes in with empty records - there are twice as many records as ther
:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 2:40 PM
To: CF-Talk
Subject: Getting rid of last line return in a cfoutput block
I'm generating a file in comma separated value format from a database query.
I'm using cffile to generate a text based csv file (actually I'm running
it through Nate
Hi,
I am trying to build a shopping cart table that displays a customer's
intended purchases from a temporary database holding that information.
Each item and its description and cost get put on their own line in the
table using cfoutput. I'm trying to provide a form input box for the
quantity
why wasnt it working before? what happened?
- Original Message -
From: megan sherman [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 16, 2001 8:27 AM
Subject: looping qty form input box in shopping cart table using cfoutput
Hi,
I am trying to build a shopping
eration of this CFLOOP.
hope that makes sense. works really well for me.
-Original Message-
From: Phoeun Pha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 15, 2001 6:26 AM
To: CF-Talk
Subject: Re: looping qty form input box in shopping cart table using
cfoutput
why wasnt it working
input box in shopping cart table using
cfoutput
probably if she knew why it *wasn't* working she'd be able to make it work.
but here's what i've done in the past to do this:
let's say i have 10 rows on each page. i use CFLOOP FROM="1" TO="10"
INDEX="count". then
Hi.
I have a memo field in Access which I'm pulling out using cfoutput
query="myquery"pre class="bodytext"#newsMessage#/pre/cfoutput
It's inside a table, but looks awful as it's not wrapping. I need to use
pre because of the linebreaks and spacing in the Memo field
I have a memo field in Access which I'm pulling out using cfoutput
query="myquery"pre class="bodytext"#newsMessage#/pre/cfoutput
It's inside a table, but looks awful as it's not wrapping. I need to use
pre because of the linebreaks and spacing in the Memo field -
Yeesh - Avoid PRE unless you REALLY want it in that format
Form simple carriage return layout either use ParagraphFormat() or (if
you're not happy with that) Replace(myField,Chr(13),"br","all")
Arghprogrammer's block again. Forgot about ParagraphFormat.
Cheers,
Will
Hey gang,
I will be conducting my own tests soon, but Has anyone out there done any
CFOUTPUT performance tests with CF4.5? I'm curious if it is more
efficient to put one CFOUTPUT tag at the top of the page and the
/CFOUTPUT at the very bottom of the page, or if it is faster to do it only
when
I will be conducting my own tests soon, but Has anyone out there done any
CFOUTPUT performance tests with CF4.5? I'm curious if it is more
efficient to put one CFOUTPUT tag at the top of the page and the
/CFOUTPUT at the very bottom of the page, or if it is faster to
do it only
when you
LECT dt, messageType
FROMdbo.milford
WHERE status = 4 or status = 6 and datediff(day
, dt , getdate() ) = 0
/cfquery
but when I output the query like so
cfoutput query="qry_checkMilforStatus"#messageType#/cfoutput
I get nothing, even if
Is the recordcount for the query greater than zero?
Put the following code after the query but before the cfoutput tag to check:
script
alert("Query has returned
cfoutput#qry_checkMilforStatus.recordcount#/cfoutput records"
how can i write a query result into a text file?
~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe:
how can i write a query result into a text file?
Build it into a string and then write it via CFFile
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
addnewline="no"
output="#evaluate( "yourquery.#i#" )#"
/cfloop
!--- Start new line ---
cffile action="APPEND"
file="yourfile"
addnewline=&quo
It may not be clear from the documentation, but CFMAIL ACTS like a
CFOUTPUT tag (with no query name). You do NOT have to use CFOUTPUT to
access CF variables inside the CFMAIL tag. Try just taking the CFOUTPUT
tags out.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
On 1/5/01, BORKMAN Lee penned:
Hi Britta,
Just remember that EVERYTHING between the CFOUTPUT tags gets repeated for
every row in the query. This includes any whitespace, eg new lines.
So to get the output on a single line, don't put any new lines between your
tags:
CFOUTPUT#img#/CFOUTPUT
Message -
From: "Britta Wingenroth" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Thursday, January 04, 2001 8:24 PM
Subject: How to force CFOUTPUT to display results horizontally
I would like to display the results of the Cfoutput tag running
horizontally, ie.
ce
704.849.9291 Fax
-Original Message-
From: Britta Wingenroth [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Friday, January 05, 2001 4:36 PM
Subject: Re: How to force CFOUTPUT to display results horizontally
Hi, I just used this and suddenly realized that, yes! all the images are
dis
Do something like
CFOUTPUT QUERY="blah"
.
CFIF currentrow MOD 5 (i.e. will trigger every fifth row)
/TD
/TR
TR
TD
/CFIF
/CFOUTPUT
Just close your cell/row, open a new row/cell...
- Original Message -
From: "Britta Wingenroth" [EMAIL PROTECTED]
I would like to display the results of the Cfoutput tag running
horizontally, ie.
tdimage image image image/td
instead of
td
image
image
image
image
/td
Is there any way that I can do this? Any help would be greatly appreciated.
Britta
Hi Britta,
Just remember that EVERYTHING between the CFOUTPUT tags gets repeated for
every row in the query. This includes any whitespace, eg new lines.
So to get the output on a single line, don't put any new lines between your
tags:
CFOUTPUT#img#/CFOUTPUT
As long as #img# has no new lines
-
From: "BORKMAN Lee" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Thursday, January 04, 2001 8:58 PM
Subject: RE: How to force CFOUTPUT to display results horizontally
Hi Britta,
Just remember that EVERYTHING between the CFOUTPUT tags gets repeated for
ev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Mark,
You might try outputting the value of groupsection right before you
test it... it sounds like groupsection is evaluating to "off"
everytime...
do something like this:
cfoutputThis is the value of groupsection:
#groupsection
Hi All,
I have a problem with including a CFOUTPUT tag in a CFIF.
cfif groupsection IS "off"
cfoutput
/cfif
Regardless of what "groupsection" is set to, the cfoutput tag is processed
in the page and of then getting errors when compiling. Is there a trick to
g
Looks like an ugly framing error. I think you might have been able to do
this before CF4.
The problem is that you have overlapping programming blocks:
CFIF
CFOUTPUT
/CFIF
/CFOUTPUT
Now there are times when you might like to do that, but it's usually not to
be encouraged.
So try
I have a problem with including a CFOUTPUT tag in a CFIF.
cfif groupsection IS "off"
cfoutput
/cfif
Regardless of what "groupsection" is set to, the cfoutput
tag is processed in the page and of then getting errors when
compiling. Is there a trick to g
ct: RE: scaleability of cfoutput maxrows=x
Maybe you could do this?
SELECT TOP 25 *
FROM TABLE
WHERE IDField NOT IN (#List_Of_IDs_Viewed_Already#)
ORDER BY SomeField
You could keep track of all the ids you've viewed already and store them in
a hidden form field?
Hmmm. At the end you'd have a l
g point for the next page.
Jim
-Original Message-
From: Paul Mone [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Date: Saturday, November 18, 2000 10:05 PM
Subject: RE: scaleability of cfoutput maxrows=x
Maybe you could do this?
SELECT TOP 25 *
FROM TABLE
WHERE IDField NOT IN (#List_O
6:34 PM 11/18/00 -0500, Peter Theobald wrote:
Unfortunately both of you completely missed his point.
He has a very large recordset of 125,000 records. They are all valid
items in his inventory. He wants to provide a page for people to browse page
by page through this inventory 25 items at a t
Unfortunately both of you completely missed his point.
He has a very large recordset of 125,000 records. They are all valid items in his
inventory. He wants to provide a page for people to browse page by page through this
inventory 25 items at a time.
He knows how to use:
CFOUTPUT maxrows=25
has a very large recordset of 125,000 records. They are all valid items in his
inventory. He wants to provide a page for people to browse page by page through this
inventory 25 items at a time.
He knows how to use:
CFOUTPUT maxrows=25 startrow=#x#
but this standard way of paging results
that
sucks.
-Original Message-
From: Peter Theobald [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 18, 2000 3:35 PM
To: CF-Talk
Subject: Re: scaleability of cfoutput maxrows=x
Unfortunately both of you completely missed his point.
He has a very large recordset of 125,000 records
I'm working on an inventory management system for a small subset of out
product database (only about 3k records compared to about 125k records).
When returning the recordset, I want to break it up into bite sized chunks.
Only problem is, using cfoutput query="myQuery" maxrows=25,
cfoutput query="myquery" startrow="26" maxrows="25"
blah blah blah
...
/cfoutput
--Shawn McGehee
- Original Message -
From: "[BOXoFUSES] Michael Slatoff" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, November 17, 2000 2
5b01c050e0$044326e0$[EMAIL PROTECTED]">news:015b01c050e0$044326e0$[EMAIL PROTECTED]...
cfoutput query="myquery" startrow="26" maxrows="25"
blah blah blah
...
/cfoutput
--Shawn McGehee
- Original Message -
From: "[BOXoFUSES] Michael Slatoff"
message
015b01c050e0$044326e0$[EMAIL PROTECTED]">news:015b01c050e0$044326e0$[EMAIL PROTECTED]...
cfoutput query="myquery" startrow="26" maxrows="25"
blah blah blah
...
/cfoutput
--Shawn McGehee
- Original Message -
From: "[BOXoF
: "[BOXoFUSES] Michael Slatoff" [EMAIL PROTECTED]
Newsgroups: cf-talk
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, November 17, 2000 6:10 PM
Subject: Re: scaleability of cfoutput maxrows=x
This is what I'm trying to get away from. This is just outputting a subset
of
eed
to use the cfoutput group method. I don't understand how to do this because
I do not use a query to get this information.
ANy help would be greatly appreciated.
Thanks,
Eddie
cfoutput
cfmail to="[EMAIL PROTECTED]"
from="#listgetat(url.cfgridkey,7)#" 'THis should
Thanks, Dave. Simple and easy. I tried adding just one #, but not 2.
If you have any questions or concerns, please feel free to call me at
407-514-5021.
Thank you,
Issac Rosa
IT - National Sales Marketing
OLAP Specialist Team Leader
Ofc: 407-514-5021
Cell: 407-342-0644
Fax:
How do I escape the # inside an anchor tag referring to an anchor within the
same document while using a CFOUTPUT tag?
CFOUTPUT query="GetMarkets"
a href="#GetMarkets.id_market#"#GetMarkets.market_name#/font/aBR
/cfoutput
If you have any questions or concerns, please
Just Use ...
CFOUTPUT query="GetMarkets"
a href="###GetMarkets.id_market#"#GetMarkets.market_name#/font/aBR
/cfoutput
:)
-Russ
--
Russell Jones
Webmaster
ImproveNow.com
Phone: 207.236.0146
e-mail: [EMAIL PROTECTED]
From: "Rosa, Issac" [EMAIL PROTECTED]
Rep
I'd appreciate an explanation of this one.
I don't understand what's going on.
best, paul
At 04:47 PM 10/25/00 -0400, you wrote:
Just Use ...
CFOUTPUT query="GetMarkets"
a href="###GetMarkets.id_market#"#GetMarkets.market_name#/
Just Use ...
CFOUTPUT query="GetMarkets"
a href="###GetMarkets.id_market#"#GetMarkets.market_name#
/font/aBR
/cfoutput
I'd appreciate an explanation of this one.
I don't understand what's going on.
What's going on here is that, if you want to provide a link to
Dana,
You need to use nested outputs for some situations. In order to do
grouped output, you need to nest cfoutput's. As in:
cfoutput query="YourQuery" group="GroupVariable"
H1#YourQuery.Whatever#/H1
cfoutputp#OtherGroupedVariable#/p/cfoutput
/cfoutput
hth,
larry
Hello CF_Folk
This is probably a simple one, but I am not seeing it
Problem:
Using code similar to that which follows, returns Invalid Parser
Construct error on " before #Map1
cfoutput query="name"
table
td
img source = #Image#
/td
td
img source = "image/image1.gif&q
you will need to escape the # simply put another # before #map
thus
##map
Neil
! ---
Neil Clark
Senior Web Applications Engineer
mcb digital
Tel. +44 (0)20 8941 3232
Tel. +44 (0)20 8408 8131 [Direct]
http://www.mcbdigital.com
Hi,
Nevermind, I dropped all CF tags and the thing still isn't lining up
Yet it was fine yesterday.
Oh well.
Guy McDowell
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
H
Why doesn't this work?
!---ADMINISTRATION SECTION ---
CFOUTPUT
CFINCLUDE template="admin_process.cfm"
/CFOUTPUT
!--- IDENTITY SECTION ---
CFOUTPUT
CFINCLUDE template="identity_process.cfm"
/CFOUTPUT
CFOUTPUT is only active in the same FILE. When you INCLUDE a new file, it starts fresh
NOT under a CFOUTPUT.
You will have to put CFOUTPUT at the top and bottom of the files.
One slightly complex solution is to write a very short nested custom tag
CF_OUTPUTINCLUDE that will include a file
eed=chr(13) chr(10)
CFMAIL
TO= "#emaiTO#"
FROM= "#emailFROM#"
SUBJECT="#emailSubject#"
SERVER="#emailServer#"
PORT="25"
#line1# #linefeed#
#line2# #linefeed#
/CFMAIL
So - no cfoutputs needed here ... AND
If you use the
Original Message-
From: pan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 15, 2000 1:21 PM
To: CF-Talk
Subject: Re: CFINCLUDE within CFOUTPUT blocks
From: "Les Mizzell" [EMAIL PROTECTED]
Try using the includes to define the values of
variables so that you can do ..
Jezz, I just tried it with the CFOUTPUT blocks in the includes...and the
mail is sending and processing everything correctly. Sheesh! I was under
the assumption that you couldn't have CFOUTPUT tags INSIDE a CFMAIL tag,
but if the tags are inside each template, CFMAIL doesn't seem to care
From: "Les Mizzell" [EMAIL PROTECTED]
Jezz, I just tried it with the CFOUTPUT blocks in the includes...and the
mail is sending and processing everything correctly. Sheesh! I was under
the assumption that you couldn't have CFOUTPUT tags INSIDE a CFMAIL tag,
but if the tags are i
I try to generate sql string like:
INSERT INTO TABLE2 (text) VALUES ('111')
and put it in variable like:
cfset InsertSQL="INSERT INTO TABLE2 (text) VALUES ('111')"
cfquery name="PutTable" datasource="#DB2_DSN#"
#InsertSQL#
/cfquery
and I've got error message
ODBC Error Code = 37000
--
-Original Message-
From: Gena [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 10, 2000 5:21 PM
To: CF-Talk
Subject: string into cfoutput
I try to generate sql string like:
INSERT INTO TABLE2 (text) VALUES ('111')
and put it in variable like
THanx, works :))
Gennadi
- Original Message -
From: "Jaime Garza" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Wednesday, October 11, 2000 10:21 AM
Subject: RE: string into cfoutput
You could try
cfquery name="PutTable" datasource="#
and
the matching daily events print next to them. Ok that works fine but as soon
as I add some visual formatting like images and tables I get repeated loops.
I know that cfoutput goes through the loop for every record but how do I
format around this and make this work and also make the code clean
have you tried...
cfoutput
#queryname1.columname# blah blah blah html stuff
#queryname2.columname# blah blah blah
/cfoutput
Perry
on 8/31/00 1:13 PM, Peter Theobald at [EMAIL PROTECTED] wrote:
I have several queries that gather various information that a page will need
of the query variables (fields) in lt;cfoutputgt;.br
I can't use lt;cfoutput query=quot;thisqueryquot;gt; because that
would only let me use the variables from ONE of the queries.br
br
/fontbr
br
-font
size=3--br
Peter Theobald
es (fields) in cfoutput.
I can't use cfoutput query="thisquery" because that would only let me use the
variables from ONE of the queries.
---
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www
How do you implement a "CFOUTPUT Group" scenario when you need to give the user
the option of displaying the results by different sorting orders?
I'm displaying a list of buildings, some of which have multiple managers. I allow the
user to click on any column to indicate how t
Hi All,
I am curious to know when to use nested cfoutput
You can't do nested cfoutput's. CFServer will throw up an error message
if you try.
Dana Larose
ColdFusion Monkey
Canadian Web Design Consulting Inc.
A: 701-281 McDermot Avenue (McDermot King)
P: 204.946.5155
C: 204.228.0477
F
Nested as in using the group attribute...
David Cummins
Dana Larose wrote:
Hi All,
I am curious to know when to use nested cfoutput
You can't do nested cfoutput's. CFServer will throw up an error message
if you try.
Dana Larose
ColdFusion Monkey
Canadian Web Design
That's not entirely true. You can do a plain vanilla cfoutput inside of a
grouped query driven output. What are you trying to do.
--K
-Original Message-
From: Dana Larose [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 3:29 PM
To: [EMAIL PROTECTED]
Subject: RE: nested
I am trying to group all messages together with the same subject for a
forum.
When I do that, I have to use CFOUTPUT group="subject" (where "Subject" is
the field name).
Here's the problem. I need the messages to be sorted by current date/time
first and then by subject. I
I am trying to group all messages together with the same subject
for a forum.
When I do that, I have to use CFOUTPUT group="subject"
(where "Subject" is the field name).
Here's the problem. I need the messages to be sorted by current
date/time first and then by sub
g the most recent message and subject.
Hopefully this helps to clarify. Thanks in advance!
Greg Albert
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Monday, August 07, 2000 11:34 AM
To: [EMAIL PROTECTED]
Cc: Albert, Gregory Mitchell (Greg)
Subject:
Off the top of my head, I know you can't use a CFMAIL tag inside CFOUTPUT, I'm sure
they're are several others as well. But from what I remember, Cold Fusion error
messages mentioning whether or not a tag can be nested inside a CFOUTPUT are pretty
descriptive as such. Therefore if you get
Thanks.
My code wouldn't look too pretty with between 30 and 80 open and close CFOUTPUTs...
At 01:48 PM 8/7/00 -0700, Gregory Harris wrote:
Off the top of my head, I know you can't use a CFMAIL tag inside CFOUTPUT, I'm sure
they're are several others as well. But from what I remember, Cold
Ok, if it is THAT big, maybe 1 CFOUTPUT would be the most advisable. However you run
a risk of somewhere in all that there being an estranged pound sign or single quote
that ColdFusion won't like. Remember watch for reserved characters in ColdFusion...
Gregory Harris
Los Angeles ITA Dept
Which of these would be faster? It's much easier to slap a cfoutput at
the beginning of the block, but i remember reading that with a cfoutput,
the cf server must "inspect" each to see if it's CF code. On the other
hand, it removes the need to switch between CF and HTML "mode&q
On 8/6/00, Michael Chiu penned:
Which of these would be faster? It's much easier to slap a cfoutput at
the beginning of the block, but i remember reading that with a cfoutput,
the cf server must "inspect" each to see if it's CF code. On the other
hand, it removes the need to switch
Before I go ahead with CFOUTPUT at the top of the page and
/CFOUTPUT at the bottom of the page and a whole 'lotta page
in between...
I am afraid that running some other CF tags inside a CFOUTPUT
might cause trouble. Is there *anything* that might get hurt by being
inside a CFOUTPUT?
All
There's no easy answer to this. My pages are somewhere in between those two cases.
There are many variables (50?) on a page so it would be a mess of
CFOUTPUT#var#/CFOUTPUT text CFOUTPUT#var#/CFOUTPUT etc...
I think that way CF would be burdened by processing many CFOUTPUT tags.
The other war CF
Before I go ahead with CFOUTPUT at the top of the page and /CFOUTPUT at the bottom
of the page and a whole 'lotta page in between...
I am afraid that running some other CF tags inside a CFOUTPUT might cause trouble.
Is there *anything* that might get hurt by being inside a CFOUTPUT?
CFQUERY
I'm trying to pass CF variables with a URL as a frame source and
this doesn't seem to be working:
CFOUTPUT
FRAMESET ROWS = "10%, *" FRAMEBORDER = "NO" NORESIZE
FRAME SRC =
"GenericDocApproval2Select.cfm?DocTitle=#URLEncodedFormat(DocumentTitle)#Do
cumen
Sorry to bother, the problem was simply the placement of my frameset tags
which were originally placed before the HTML tags. I've got them in
between the /head and body tags and it looks like it's working.
Rolando Simeon
Student Manager
UPS Development, Pacific Bell
Work: 925.867.8797
E-mail:
Last week I noticed that the development version of a website and it's
production version were different just after uploading the scripts and data.
For some reason, I had whitespaces between a series of images, which I did
not have before...
After a lengthy search, I found out that the CFOUTPUT
On Tue, 25 Jul 2000 09:49:25 -0400, [EMAIL PROTECTED] wrote:
Ok someone helped me with something similar before. Basically I
initially
run a query based on a set
of dates and pull ALL records within that date range (simple enough):
Good morning. I suspect that the trick here is to use
Here is what i did
Still only pulls ONE of the 2 runways that it should for the first report.
however i may have done it wrong.
cfloop query="qgetwild"
CFOUTPUT
trtd valign=topfont face=verdana size=2 color="black"
BDate of Incident:/b #DateFormat(O_Period_dt_Beg, ' d,
You'll have to use a cfloop on the query, then inbed the 3rd query in the
loop.
Rob Flesher
Cold Fusion Applications Developer
HLP Associates, Inc.
From: Kelly Matthews [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: CFOUTPUT/QUER
Thanks - this is very helpful. BTW - any characters I need to watch out for
besides # and "?
aloha
Dan
- Original Message -
From: "Jeff" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 21, 2000 3:57 PM
Subject: Re: escaping special characters between cf
This is most likely a stupidly simple question, but I can't seem to find a
solution in the reference books. How can a place a "#" inbetween cfoutput
tags?
i.e.
cfoutput
TABLE
TR
TD bgcolor="#CC"#variable/TD
/TR
/TABLE
/cfoutput
This just pretend code, th
hi
inside cfoutput you may use TD bgcolor="#Chr(35)#CC" instead.
stas@
-éÓÈÏÄÎÏÅ ÓÏÏÂÝÅÎÉÅ-
ïÔ: Dan Cameron [EMAIL PROTECTED]
ëÏÍÕ: [EMAIL PROTECTED] [EMAIL PROTECTED]
äÁÔÁ: ÞÅÔ×ÅÒÇ, 22 ÉÀÎÑ 2000 Ç. 5:45
ôÅÍÁ: escaping special characters between cfoutput/cfoutput
Th
This is most likely a stupidly simple question, but I can't seem to find a
solution in the reference books. How can a place a "#" inbetween cfoutput
tags?
Yeah, it's pretty easy.
use ## instead of #
HTH
R
cfoutput you may use td bgcolor =3D "##CC" instead.
Jared Clinton.
Stas Maximov wrote:
hi
inside cfoutput you may use TD bgcolor=3D"#Chr(35)#CC" instead.
stas@
-=E9=D3=C8=CF=C4=CE=CF=C5 =D3=CF=CF=C2=DD=C5=CE=C9=C5-
=EF=D4: Dan Cameron [EMAIL PROT
Use another #.
ie, TD BGCOLOR="##CC"#variable#
At 15:47 21/06/00 -1000, you wrote:
This is most likely a stupidly simple question, but I can't seem to find a
solution in the reference books. How can a place a "#" inbetween cfoutput
tags?
i.e.
cfoutput
TABLE
TR
dan stas,
:~~
: From: Stas Maximov [EMAIL PROTECTED]
:
: inside cfoutput you may use TD
: bgcolor="#Chr(35)#CC" instead.
:
: From: Dan Cameron [EMAIL PROTECTED]
:
: but is there a way to just escape the "#" character?
:~~~
Use # to escape (also remember to escape your BGCOLOR). For example:
cfoutput
TABLE
TR
TD bgcolor="##CC"##variable/TD
/TR
/TABLE
/cfoutput
Regards,
Chris
-Original Message-
From: Dan Cameron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 8:47 PM
To: [EMAIL
I generally use something like bgcolor="##CC" between cfoutput tags with
no problems.
Sincerely,
Shane Witbeck
Webmaster
[EMAIL PROTECTED]
www.digitalsanctum.com
-Original Message-
From: Dan Cameron [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 21, 2000 9:47 PM
i'll be dead! always used Chr(35) and thought how weird is it. ## is much
nicer! thanks
:)
-éÓÈÏÄÎÏÅ ÓÏÏÂÝÅÎÉÅ-
ïÔ: Jared Clinton [EMAIL PROTECTED]
ëÏÍÕ: [EMAIL PROTECTED] [EMAIL PROTECTED]
äÁÔÁ: ÞÅÔ×ÅÒÇ, 22 ÉÀÎÑ 2000 Ç. 6:03
ôÅÍÁ: Re: escaping special characters between cfoutput
Try using cfloop query="myquery"
HTH
Jon
John Mentzer wrote:
Hi
I'm attempting to embed a table inside a CFMAIL tag. I'd like the table
to be dynamic. Problem is, whenever I put a CFOUTPUT QUERY="" inside
the CFMAIL I get the following error:
Invalid tag n
Jon
John Mentzer wrote:
Hi
I'm attempting to embed a table inside a CFMAIL tag. I'd like the table
to be dynamic. Problem is, whenever I put a CFOUTPUT QUERY="" inside
the CFMAIL I get the following error:
Invalid tag nesting configuration
A query driven CFOUTPUT tag
CFMAIL
Stuff from form
/CFMAIL
CFOUTPUT
Same Stuff from form
/CFOUTPUT
/PAGE
Can I nest these so I don't have to repeat data and keep the page size down?
PAGE
CFOUTOUT
CFMAIL
Stuff from form
/CFMAIL
CFOUTPUT
Im doing a CFOUTPUT from a database and the data just repeats
down one long
column in the table...
Is there any way to repeat the data into a two column table?
Chad,
What you need to do is something like this
cfset EndColOne = round(myquery.recordcount/2)
cfset StartColTwo
Im doing a CFOUTPUT from a database and the data just repeats down one long
column in the table...
Is there any way to repeat the data into a two column table?
--
Archives: http://www.eGroups.com/list/cf-talk
I looked at my question and there was a typo.
I dont want to repeat my data... i want to 'word wrap it' to another column..
I have been reading, and researching.. what about using
MAXROWS="10". Then do another CFOUTPUT to the second column with
STARTROW="11"
Is t
Do a CFOUTPUT in general, around the table...
In the first column, do a CFLOOP hitting the query, startrow 1, endrow
being the int(recordset/2) (and keep track of that value)...
Second column, another loop on the same query, startrow being one more than
last record in the previous column
801 - 900 of 910 matches
Mail list logo