cfc/query/cfoutput question

2009-02-09 Thread Mike Soultanian
So I'm reading this guide and it's really helpful! http://www.iknowkungfoo.com/blog/index.cfm/2007/8/22/Object-Oriented-Coldfusion--1--Intro-to-Objectcfc In my reading, I came upon an example similar to this: cfset qUsers = object.getallusers() cfoutput query=qUsers ... /cfoutput Would

Re: cfc/query/cfoutput question

2009-02-09 Thread John M Bliss
As long as IsQuery(object.getallusers()) returns true. :-) On Mon, Feb 9, 2009 at 7:05 PM, Mike Soultanian msoul...@csulb.edu wrote: So I'm reading this guide and it's really helpful! http://www.iknowkungfoo.com/blog/index.cfm/2007/8/22/Object-Oriented-Coldfusion--1--Intro-to-Objectcfc

Re: cfc/query/cfoutput question

2009-02-09 Thread Dave Watts
In my reading, I came upon an example similar to this: cfset qUsers = object.getallusers() cfoutput query=qUsers ... /cfoutput Would it be possible to do this instead: cfoutput query=object.getallusers() ... /cfoutput Yes, I'm pretty sure it would work. That said, it might not

RE: CFOUTPUT Question

2004-04-02 Thread Pascal Peters
/cfoutput cfif remainingCells cfloop from=1 to=#remainingCells# index=i tdnbsp;/td /cfloop /tr /cfif /table /cfif Pascal -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED] Sent: donderdag 1 april 2004 18:36 To: CF-Talk Subject: RE: CFOUTPUT Question Bruce, I just

RE: CFOUTPUT Question

2004-04-02 Thread Bruce Sorge
This worked well. Thanks. _ From: Greg Luce [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 10:36 AM To: CF-Talk Subject: RE: CFOUTPUT Question Bruce, I just ran this against a local table and it renders 2 nice columns. The y helps you see what currentrow MOD 2 is doing. cfquery

RE: CFOUTPUT Question

2004-04-01 Thread Ian Skinner
Your close, you don't want to close the new row inside your If statement.And you will need a closing tag at the end. tr cfoutput query=qSubCat1 group=Style td img src="" border=0 /td cfifCurrentRow Mod 2 IS 1 /tr tr /cfif /cfoutput /tr You can also simplify your if statement if

RE: CFOUTPUT Question

2004-04-01 Thread Bruce Sorge
td img src="" border=0 /td td img src="" border=0 /td td img src="" border=0 /td td img src="" border=0 /td /tr tr /tr /td /tr /table _ From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 20

RE: CFOUTPUT Question

2004-04-01 Thread Ian Skinner
Can you provide the complete CFML code.I think you may need to reverse your if statement to cfif NOT currentRow MOD 4.It looks like you are trying to output 4 columns? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: CFOUTPUT Question

2004-04-01 Thread Alex Gorelik
I've got something very similar to that, with three columns, but otherwise similar logic: cfset total_items = GetPerFeatures.Recordcount cfset columns = 3 cfset col_tick = 0 cfset count = 0 table border=0 cellpadding=0 cellspacing=0 width=90% align=center tr cfoutput cfloop

RE: CFOUTPUT Question

2004-04-01 Thread Greg Luce
-Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 10:00 PM To: CF-Talk Subject: CFOUTPUT Question I have this piece of code: tr cfoutput query=qSubCat1 group=Style td img src=""> border=0 /td cfifCurrentRow Mod 2 IS

CFOUTPUT Question

2004-03-31 Thread Bruce Sorge
I have this piece of code: tr cfoutput query=qSubCat1 group=Style td img src="" border=0 /td cfifCurrentRow Mod 2 IS 1 /tr tr /tr /cfif /cfoutput What I was hoping to achieve was, when the second image appeared (the second column), then a new row would appear. So I guess

RE: CFOUTPUT Question

2004-03-31 Thread Marlon Moyer
ng selfish, but the last time I checked, we don't have a whole lot of songs that feature the cowbell! -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 31, 2004 9:00 PM To: CF-Talk Subject: CFOUTPUT Question I have this piece of code:

Re: CFOUTPUT Question

2004-03-31 Thread Dick Applebaum
the cfoutput query=myQuery...cfoutputmakes one iteration for each row in the query I think you want something like: tr td.../td td.../td /tr within the output tags HTH Dick On Mar 31, 2004, at 7:00 PM, Bruce Sorge wrote: I have this piece of code: tr cfoutput query=qSubCat1

CFOUTPUT question

2001-04-07 Thread William Wheatley
Anyone know a way to use a dynamic variable inside of a CFOUTPUT? cfoutput query="#queryname#" maxrows=1 tr td width="40%" font face="Verdana, Arial, Helvetica, sans-serif"bfont size="3" color="red"#ucase(name)#/font/b /font/td

Re: CFOUTPUT question

2001-04-07 Thread Clint Tredway
try using the same variable to name the query as you are for naming the output. I have done this before where my query name was "lu#table#" and my cfoutput was named the same ie: name="lu#table#". HTH -- Original Message -- From: "William Wheatley"

Re: CFOUTPUT question

2001-04-07 Thread William Wheatley
e - From: "Clint Tredway" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 12:14 AM Subject: Re: CFOUTPUT question try using the same variable to name the query as you are for naming the output. I have done this before where my query nam

Re: CFOUTPUT question

2001-04-07 Thread William Wheatley
- From: "William Wheatley" [EMAIL PROTECTED] To: "CF-Talk" [EMAIL PROTECTED] Sent: Sunday, April 08, 2001 12:33 AM Subject: Re: CFOUTPUT question even with cfoutput query="qget#name#" maxrows=1 tr td width="40%"

Re: CFOUTPUT question

2001-04-07 Thread Kym Kovan
Hi Bill, even with cfoutput query="qget#name#" maxrows=1 tr td width="40%" font face="Verdana, Arial, Helvetica, sans-serif"bfont size="3" color="red"#ucase(name)#/font/b /font/td td width="60%"nbsp;/td /tr

CFMAIL/CFOUTPUT Question

2000-05-31 Thread Les Mizzell
HI, Got a site with a bunch of forms to send stuff to the client once a use fills them out. When submitted, the forms take you to a processing/confirm page that thanks you, shows you exactly what you just sent and sends the mail. Currently, in order to get this to work. I'm doing: PAGE

RE: CFOUTPUT question

2000-05-19 Thread Stephen Moretti
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 =

CFOUTPUT question

2000-05-18 Thread Chad
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 To

Re: CFOUTPUT question

2000-05-18 Thread Chad
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 this going to confuse

RE: CFOUTPUT question

2000-05-18 Thread Scott Weikert
, to the end. -Original Message- From: Chad [mailto:[EMAIL PROTECTED]] Sent: Friday, May 19, 2000 4:36 AM To: [EMAIL PROTECTED] Subject: Re: CFOUTPUT question 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