cfset

2002-04-18 Thread Janine Jakim
I have a page that has hundreds of cfsets in it. (it goes out to a pdf and each box needs defined) Like so: It can take up to almost a minute to process. The sql end is fine-it's in a stored procedure and runs quick enough. But I was noticing that when I watch the performance monitor on my CFs

CFSET

2001-06-01 Thread David Clay
Can anyone tell me why the #ClassID# in the UPDATE Query is always coming up as a blank space, thus producing an error. Code below: SELECT ClassSchedID, InputDate, WaitList, RegistrationID FROM ClassRegistration WHERE InputDate (SELECT MIN(InputDate) FROM ClassRegistration WHERE Class

cfset ?

2005-02-03 Thread dave
ok this is dumb but was just curious about something i have always done cfsets like suck but i was just browsing through one of charlie griefers articles and i see he closes the tag, like suck the docs dont mention using a closing tag and i have never seen it before so just curious :

Re: cfset

2002-04-18 Thread Douglas Brown
m" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 12:27 PM Subject: cfset > I have a page that has hundreds of cfsets in it. (it goes out to a pdf and > each box needs defined) > Like so: > > > > It can take up t

Re: cfset

2002-04-18 Thread Pete Ruckelshaus
First, use cfscript to set your variables, esp. if they can all be fit in a single cfscript block. Pete - Original Message - From: "Janine Jakim" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, April 18, 2002 3:27 PM Subject:

Re: cfset

2002-04-18 Thread Matthew Walker
-Talk" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 7:46 AM Subject: Re: cfset > First, use cfscript to set your variables, esp. if they can all be fit in a > single cfscript block. > > Pete > > - Original Message - > From: "Janine Jakim" <[EMAI

dynamic cfset

2002-04-29 Thread Wurst, Keith D.
I am working on a site where I need to use a cfset inside a cfloop. The tricky part is that I want my variable name to be dynamic. I have been trying the following... ..but as some of you might guess it's not working. The idea would be to get the result of Keithblue = "No"

Re: CFSET

2001-06-01 Thread David E. Crawford
Check to make sure that the GetWaitingStudent query is actually returning a row. DC - Original Message - From: "David Clay" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 09:58 Subject: CFSET > Can anyone tell me wh

RE: CFSET

2001-06-01 Thread Kola Oyedeji
-Talk Subject: CFSET Can anyone tell me why the #ClassID# in the UPDATE Query is always coming up as a blank space, thus producing an error. Code below: SELECT ClassSchedID, InputDate, WaitList, RegistrationID FROM ClassRegistration WHERE InputDate (SELECT MIN(InputDate) FROM

cfset/cfstoredproc

2002-03-28 Thread Janine Jakim
This is somewhat of a repost from the other day but haven't gotten any feedback- since I don't think I worded my problem very well. I am moving some of my work from cfquery to storedprocedures- the problem is the formatting when I use cfset with a stored procedures- they don't rea

cfset hyperlink

2006-09-26 Thread coldfusion . developer
All, I thought this would be simple, but it's not working. I want to set a varaible with a string that contains a hyperlink in it. http://www.site.com";>http://www.site.com"> Thoughts? D D ~| Introducing the Fusion Authorit

CFSET construct

2005-05-25 Thread Stuart Kidd
Hi guys, I¹m trying to put together a CFSET construct but am having probs: 'He''She' & 'may change this in the near future however.'> Could somebody please point out what I am doing wrong, is it not okay to have ampersa

CFset problem

2007-01-30 Thread Melissa Weber
ks perfect however, when the table is empty I get an error message. It says that it cannot convert " " to a number. I even put a cfset statement in there to set the field to 1 but it isn't working. Any ideas? Below is the query to find the highest number and the cfif statem

RE: cfset ?

2005-02-03 Thread Michael Dinowitz
Totally not needed but some purists like to put them in. I don't. > ok this is dumb but was just curious about something > > i have always done cfsets like suck > > > but i was just browsing through one of charlie griefers articles and i > see he closes the tag, like suck > > > the docs

Re: cfset ?

2005-02-03 Thread Dan O'Keefe
to be XHTML compliant I believe. Dan On Thu, 3 Feb 2005 18:14:19 -0500, dave <[EMAIL PROTECTED]> wrote: > > ok this is dumb but was just curious about something > > i have always done cfsets like suck > > > but i was just browsing through one of charlie griefers articles and i see > he c

RE: cfset ?

2005-02-03 Thread dave
actually that was my first thought but just making sure i wasnt missing anything cause u know how im usually wrong From: "Michael T. Tangorre" <[EMAIL PROTECTED]> Sent: Thursday, February 03, 2005 6:19 PM To: CF-Talk Subject: RE: cfset

Re: cfset ?

2005-02-03 Thread Barney Boisvert
It's a personal style thing. I like it, because it's consistent with the XHTML I create. I don't have to think about whether I'm writing CFML or XHTML, I just close every tag. One thing to watch out for, however, is custom tags. The self-close is treated a closing tag, so if your custom tag isn

RE: cfset ?

2005-02-03 Thread Taco Fleur
: CF-Talk Subject: cfset ? ok this is dumb but was just curious about something i have always done cfsets like suck but i was just browsing through one of charlie griefers articles and i see he closes the tag, like suck the docs dont mention using a closing tag and i have never seen it

Re: cfset ?

2005-02-03 Thread Barney Boisvert
Except that CFML isn't XML compliant. CFELSEIF and CFELSE, in particular, are an issue. If you use CFSWITCH for all conditionals with more than one block, then it'd work (you can still use CFIF without a CFELSE). cheers, barneyb On Fri, 4 Feb 2005 09:20:43 +1000, Taco Fleur <[EMAIL PROTECTED]>

Re: cfset ?

2005-02-03 Thread dave
things such as custom tags). From: Barney Boisvert <[EMAIL PROTECTED]> Sent: Thursday, February 03, 2005 6:24 PM To: CF-Talk Subject: Re: cfset ? It's a personal style thing. I like it, because it's consistent with the XHTML I create. I don

Re: cfset ?

2005-02-03 Thread Tony Weeg
if its parsed on the server, and it doesnt make it to the browser, anyway, why or how does xhtml compliance matter? -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http://www.antiwrap.c

Re: cfset ?

2005-02-03 Thread Tony Weeg
and dave, switch your *K* and *H* keys around, someone is effin' with ya! :) tw On Thu, 3 Feb 2005 18:37:40 -0500, Tony Weeg <[EMAIL PROTECTED]> wrote: > if its parsed on the server, and it doesnt make it to the browser, > anyway, why or how does xhtml compliance matter? > > -- > tony > > Tony

RE: cfset ?

2005-02-03 Thread Michael T. Tangorre
> From: dave [mailto:[EMAIL PROTECTED] > i can see it as being consistant with xhtml but as far as i > know xhtml doesnt parse cfm code yet. So it wouldnt actually > make it compliant but certainly consistant. > > which i guess would bring up the ? of  which tags can be > closed like that? ca

Re: cfset ?

2005-02-03 Thread Barney Boisvert
Yeah, there's no tangible benefit to closing them like that. Pure style. Any CF tag can be closed like that, except, I believe, for CFCOL (used inside CFTABLE). I remember running into some tag that complained, and I think that was it. But other than that, they can all be self-closed like that.

Re: cfset ?

2005-02-03 Thread dave
lol friggin m$ always messin with my head! From: Tony Weeg <[EMAIL PROTECTED]> Sent: Thursday, February 03, 2005 6:43 PM To: CF-Talk Subject: Re: cfset ? and dave, switch your *K* and *H* keys around, someone is effin' with ya! :) tw On

RE: cfset ?

2005-02-03 Thread Taco Fleur
- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, 4 February 2005 9:25 AM To: CF-Talk Subject: Re: cfset ? Except that CFML isn't XML compliant. CFELSEIF and CFELSE, in particular, are an issue. If you use CFSWITCH for all conditionals with more than one block, then it'd

Re: cfset ?

2005-02-03 Thread dave
tHats wHy i was sayin, my first tHougHt was xHtml but it wouldnt matter anyways, tHats wKy i asKed. From: Tony Weeg <[EMAIL PROTECTED]> Sent: Thursday, February 03, 2005 6:42 PM To: CF-Talk Subject: Re: cfset ? if its parsed on the server,

Re: cfset ?

2005-02-03 Thread Barney Boisvert
-- > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 February 2005 9:25 AM > To: CF-Talk > Subject: Re: cfset ? > > Except that CFML isn't XML compliant. CFELSEIF and CFELSE, in particular, > are an issue. If you use CFSWITCH for all conditionals with more

Re: cfset ?

2005-02-03 Thread Charlie Griefer
> > test > > > > > > > > > > > > -- > > Taco Fleur > > Senior Web Systems Engineer > > http://www.webassociates.com > > > > -Original Message- > > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > > Sent:

Re: cfset ?

2005-02-03 Thread Barney Boisvert
CFDUMP (along with 15 or so other tags) are still implemented as custom tags. Just in CFMX they fixed CFDUMP so that it checked executionMode and only does something on the start mode. The tags that are implemented in CFML (though they are encrypted) are in /WEB-INF/cftags. You can add additiona

Re: cfset ?

2005-02-03 Thread Claude Schneegans
>>I like it, because it's consistent with the XHTML I create. Ok, but whats the big deal of XHTML after all? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECT

Re: cfset ?

2005-02-03 Thread Barney Boisvert
It's the modern HTML standard. HTML 4.0 is still the most common, I'm sure, but XHTML superceeded it. It's not really any different, except it forces you to separate content from presentation, and since it's XML, allows you to do various nifty things in certain situations (such as embedding other

Re: cfset ?

2005-02-03 Thread Dan O'Keefe
Claude, Did your email address change? I sent a couple emails about RE_extract with no reply. Dan On Thu, 03 Feb 2005 20:43:01 -0500, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>I like it, because it's consistent with the XHTML I create. > > Ok, but whats the big deal of XHTML after all?

Re: cfset ?

2005-02-03 Thread Claude Schneegans
>>except it forces you to separate content from presentation, This is exactly what bothers me. I feel like it does exactly the contrary, by imposing tags in lower case. For me some text here makes much clearer whats part of the presentation and whats content than some text here -- ___

Re: cfset ?

2005-02-03 Thread Claude Schneegans
>>Did your email address change? I sent a couple emails about RE_extract with no reply. No, it didn't. I changed my message reading soft however, (Thunderbird), and it has a spam filter. I check it every time it sends something to the thrash however, and I never saw something about RE_extract

Re: cfset ?

2005-02-03 Thread Barney Boisvert
Uhhh, the table tags are part of your content. They are the structure. The presentation are things like headings should be bold and red, cells should have a green background. With HTML, you can embed that stuff in the content (though you don't have to). With XHTML, on the other hand, you simply

Re: cfset ?

2005-02-04 Thread Charlie Griefer
On Thu, 3 Feb 2005 21:39:07 -0800, Barney Boisvert <[EMAIL PROTECTED]> wrote: { snip } > It's worth mentioning that you can do all this with HTML as well as > XHTML. The difference is that with HTML you can choose to do it this > way, but with XHTML you _have_ to do it this way. Which, IMO, is

RE: cfset ?

2005-02-04 Thread Calvin Ward
: cfset ? if its parsed on the server, and it doesnt make it to the browser, anyway, why or how does xhtml compliance matter? -- tony Tony Weeg macromedia certified coldfusion mx developer email: tonyweeg [at] gmail [dot] com blog: http://www.revolutionwebdesign.com/blog/ cool tool: http

Re: cfset ?

2005-02-04 Thread Claude Schneegans
>>Uhhh, the table tags are part of your content. They are the >>structure. The presentation are things like headings Well, I was more thinking of the content (text) as opposed to the presentation in a larger sense, including the container as well. For me, the fact that some text must be laid

Re: cfset ?

2005-02-04 Thread Dan O'Keefe
No, I used this address. Will send it right now with the subject RE_Extract. Dan On Thu, 03 Feb 2005 23:07:29 -0500, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>Did your email address change? I sent a couple emails about > RE_extract with no reply. > > No, it didn't. > I changed my messag

Re: cfset ?

2005-02-04 Thread Claude Schneegans
>>Will send it right now with the subject RE_Extract. Ah ah! Got it! And it is not marked as spam. ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) T

Re: cfset ?

2005-02-04 Thread Will Tomlinson
This all translates to tens of thousands of extra keystrokes for me. And being the lazy coder that I am, I'll deem them unecessary! :) Will ~| Logware (www.logware.us): a new and convenient web-based time tracking application

Re: cfset ?

2005-02-04 Thread dave
haha From: Will Tomlinson <[EMAIL PROTECTED]> Sent: Friday, February 04, 2005 3:28 PM To: CF-Talk Subject: Re: cfset ? This all translates to tens of thousands of extra keystrokes for me. And being the lazy coder that I am, I'll deem them unecess

Re: cfset ?

2005-02-04 Thread Will Tomlinson
No no no!! I was a bit vague with my response there I guess. I AM coding everything xhtml, except those DAMN cfforms are still screwing me!! Friggin in uppercase! Who's the idget that did that anyway?? In speaking of extra keystrokes, I'm talkin about That's useless to me! I'm used to lo

Re: cfset ?

2005-02-04 Thread dave
yeah i know just given ya a hard time ;) actually i thought u meant xhtml, sorry i gots a hottie on my mind! From: Will Tomlinson <[EMAIL PROTECTED]> Sent: Friday, February 04, 2005 4:10 PM To: CF-Talk Subject: Re: cfset ? No no no!! I was

RE: cfset ?

2005-02-06 Thread Taco Fleur
PM To: CF-Talk Subject: RE: cfset ? Well, if it was valid XML then you could, in theory, actually parse a cf document as an xml document Not sure what value that would have though. - Calvin -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005

RE: cfset ?

2005-02-03 Thread Michael T. Tangorre
> From: dave [mailto:[EMAIL PROTECTED] > i have always done cfsets like suck > > > but i was just browsing through one of charlie griefers > articles and i see he closes the tag, like suck > > > the docs dont mention using a closing tag and i have never > seen it before so just curio

CFSET in CFMX

2002-12-05 Thread Michael Dinowitz
As mentioned before, I'm playing with some code and looking at what happens in different situations. 3 additional things that I just tested deal with setting variables: 1. There is no speed difference between using CFSET to set a variable and using CFSCRIPT to do so. This is true for sett

cfset vs setVariables

2000-07-11 Thread Won Lee
Can someone please explian when it would be more advantageous to use setVariables instead of cfset? Won Lee Allaire Certified ColdFusion 4.5 Developer Systems Consultant New Channel Technologies (330) 220-1558 [EMAIL PROTECTED] "Turning ideas into e-Business" Premi

? onChange and cfset

2000-08-14 Thread Ins
Hi, There is a select list in my form. I want a new form filed to be written after the selection is done before the form submit: UK USA If user selects UK, a new form will written under the selection field: UK something: UK related form fields If user selects USA,

RE: dynamic cfset

2002-04-29 Thread Raymond Camden
My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Wurst, Keith D. [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 29, 2002 4:58 PM > To: CF-Talk > Subject: dynamic cfset > > > I am working on a site where I need to use a

Re: dynamic cfset

2002-04-29 Thread Jerry Johnson
? Jerry Johnson >>> [EMAIL PROTECTED] 04/29/02 04:57PM >>> I am working on a site where I need to use a cfset inside a cfloop. The tricky part is that I want my variable name to be dynamic. I have been trying the following... .but as some of you might guess it's not

RE: dynamic cfset

2002-04-29 Thread Dave Watts
> I am working on a site where I need to use a cfset inside a > cfloop. The tricky part is that I want my variable name to > be dynamic. I have been trying the following... > > > > ..but as some of you might guess it's not working. The idea > would be to get

RE: dynamic cfset

2002-04-29 Thread Shawn Grover
Use quotes around the variable name: that should work Shawn Grover -Original Message- From: Wurst, Keith D. [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:58 PM To: CF-Talk Subject: dynamic cfset I am working on a site where I need to use a cfset inside a cfloop. The

Re: dynamic cfset

2002-04-29 Thread Paul Giesenhagen
#Evaluate("keith#dynamicpart#")# (should display "No") Is that what you are looking for? Paul Giesenhagen QuillDesign http://www.quilldesign.com SiteDirector v2.0 - Commerce Builder > I am working on a site where I need to use a cfset inside a cfloop. The > tri

RE: dynamic cfset

2002-04-29 Thread Rob Baxter
Wurst, Keith D. [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 4:58 PM To: CF-Talk Subject: dynamic cfset I am working on a site where I need to use a cfset inside a cfloop. The tricky part is that I want my variable name to be dynamic. I have been trying the following... .but as some of

RE: dynamic cfset

2002-04-29 Thread Neil Clark - =TMM=
ALERT ALERT - Use of Evaluate on NG.. :-) Neil Clark Team Macromedia http://www.macromedia.com/go/team Announcing Macromedia MX!! -- http://www.macromedia.com/software/trial/. __ This list and all

CFSET / UPDATE SQL

2001-05-31 Thread David Clay
Can anyone tell me why the #ClassID# in the UPDATE Query is always coming up as a blank space, thus producing an error. Code below: SELECT ClassSchedID, InputDate, WaitList, RegistrationID FROM ClassRegistration WHERE InputDate (SELECT MIN(InputDate) FROM ClassRegistration WHERE Class

CFPARAM vs. CFSET

2001-09-04 Thread Fuon See Tu
Hey guys i still don't understand the difference between CFPARAM and CFSET. anyone got a working concept? i see no use for CFPARAM :) ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources fo

Display CFSET Vars

2003-08-18 Thread Terry Troxel
Is there a method, tag, etc. available in CF5 that allows me to display all CFSET variables and their values like CF_DUMP does? I get everything BUT the cfset variables with CF_dump. Terry Troxel ~| Archives: http

Display CFSET Vars

2003-08-18 Thread Mike Mertsock
>Is there a method, tag, etc. available in CF5 that allows me to >display all CFSET variables and their values like CF_DUMP >does? I get everything BUT the cfset variables with CF_dump. > >Terry Troxel Hmm I'm not sure if it's possible to look at EVERYTHING in one shot. T

cfset vs. cfsavecontent

2004-07-19 Thread Dave Carabetta
I have a CFC where I'm writing the contents of a config file for a 3rd party engine. However, if I use cfsavecontent (my preferred approach), the XML string never gets written. But if I use the standard cfset, the string is written out appropriately. Can anybody see/tell me the difference be

CFQUERYPARAM in CFSET

2004-08-31 Thread djones
This may not be possible but... Doesn anyone know of a way to get this or something similar to work? "> #preserveSingleQuotes(strSQL)# Thanks, David [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

cfif in cfset

2002-03-02 Thread Jason Davis
I'm using CF 4.5, how can I perform something like this? without needing to do: __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Mont

html and cfset

2002-03-20 Thread Attley, Simon (CMG-SF)
This should be a simple one but I am a rookie and can't find anything in my CF5 WACK book. I am using CFSET to set a variable called error_message. Is there a way to include html in the value of error message, I get an error when I try to use any html tags. Thanks in advance,

RE: cfset/cfstoredproc

2002-03-28 Thread Mark A. Kruger - CFG
his is somewhat of a repost from the other day but haven't gotten any feedback- since I don't think I worded my problem very well. I am moving some of my work from cfquery to storedprocedures- the problem is the formatting when I use cfset with a stored procedures- they don't react the s

RE: cfset/cfstoredproc

2002-03-29 Thread Janine Jakim
Sorry I didn't respond immediately- I went home sick yesterday afternoon. The 2nd example shows the correct person but everyone comes up with the 1st persons answers. When I do a regular output each person comes up with the correct answers--once I add cfset each person receives the answer

append with cfset

2012-12-27 Thread Chad Gray
I thought CF could appended data in a cfset tag like: So if you output foo you would get "boomoo". Or am I thinking of another language? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon

CFPARAM or CFSET

2000-12-15 Thread Eric Fickes
Could anybody school me in the difference between using CFPARAM and CFSET. I see CFPARAM all the time, but the little documentation that I've seen about CFPARAM makes it sound just like CFSET. E ~~ Structure your ColdFusion code

RE: cfset hyperlink

2006-09-26 Thread Russ
26 AM > To: CF-Talk > Subject: RE: cfset hyperlink > > Your third or fourth suggestions are the best in terms of generating valid > HTML > > > Sandra Clark > == > http://www.shayna.com > Training in Cascading Style Sheets and Accessibi

RE: cfset hyperlink

2006-09-26 Thread David Low
You need to escape your quote marks - the statement is terminating too early. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 26 September 2006 16:17 > To: CF-Talk > Subject: cfset hyperlink > > All, > > I thought this wo

RE: cfset hyperlink

2006-09-26 Thread Sandra Clark
, 2006 11:22 AM To: CF-Talk Subject: RE: cfset hyperlink Use single quotes for one of them... or escape the " quote. http://www.site.com"";>http://www.site.com"> Or http://www.site.com'>http://www.site.com"> Or http://www.site.com'>http://www.

RE: cfset hyperlink

2006-09-26 Thread Russ
our free coupon. http://www.site.com";>http://www.site.com Russ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 26, 2006 11:17 AM > To: CF-Talk > Subject: cfset hyperlink > > All, > > I thought this wou

Re: cfset hyperlink

2006-09-26 Thread coldfusion . developer
Thanks everyone. I used cfset as an example, but it's actualy going through an admin tool. It's being store in the database as ... Click here to download your free couopn. http://www.site.com"";>http://www.site.com it's coming out on the web page as ... Clic

RE: cfset hyperlink

2006-09-26 Thread Sandra Clark
: Russ [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 26, 2006 11:43 AM To: CF-Talk Subject: RE: cfset hyperlink Actually my third was supposed to be But I'm not sure how it's different from all the others... What makes it more valid then the other suggestions? Russ >

Re: cfset hyperlink

2006-09-26 Thread Peter Boughton
Look at the XmlFormat/XmlParse/ToString functions for converting from and to entities. > Thanks everyone. I used cfset as an example, but it's actualy going > through an admin tool. It's being store in the database as ... > > Click here to download your free couopn.

RE: cfset hyperlink

2006-09-26 Thread Eric Roberts
Use single quotes around the variable text instead of double quotes... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, 26 September 2006 10:17 To: CF-Talk Subject: cfset hyperlink All, I thought this would be simple, but it's not working. I

Re: cfset hyperlink

2006-09-26 Thread James Holmes
The first option would end up with that as a result. http://www.site.com"";>http://www.site.com"> Inside the CFSET the "" will resolve to " in the string. On 9/27/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > If you are using a doctype of xHTML,

Re: cfset hyperlink

2006-09-27 Thread Teddy Payne
rst option would end up with that as a result. > > http://www.site.com"";>http://www.site.com"> > > Inside the CFSET the "" will resolve to " in the string. > > On 9/27/06, Sandra Clark <[EMAIL PROTECTED]> wrote: > > If you are using

RE: cfset hyperlink

2006-09-27 Thread Bobby Hartsfield
Use single quotes to surround the value of the variable so you can use quotes all you want inside. Eg: -Original Message- From: Teddy Payne [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 9:32 AM To: CF-Talk Subject: Re: cfset hyperlink Use the force er function suite

RE: CFSET construct

2005-05-25 Thread Allan Cliff
-Original Message- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: 25 May 2005 16:03 To: CF-Talk Subject: CFSET construct Hi guys, I¹m trying to put together a CFSET construct but am having probs: 'He''She' & 'may change this in the near future howe

RE: CFSET construct

2005-05-25 Thread Ian Skinner
NO, it's not ok to have nested tags inside a cfset tag, or any other tag for that matter. You could use the IIF function here, but I'm sure there are better ways to do this all around. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "

Re: CFSET construct

2005-05-25 Thread Steven Brownlee
It's not ok to have other ColdFusion tags inside a CFSET. You'll have to put the condition outside. Stuart Kidd wrote: > Hi guys, > > I¹m trying to put together a CFSET construct but am having probs: > > FindMatches.gender eq 'male'>

RE: CFSET construct

2005-05-25 Thread Dawson, Michael
Or use . M!ke -Original Message- From: Steven Brownlee [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 9:10 AM To: CF-Talk Subject: Re: CFSET construct It's not ok to have other ColdFusion tags inside a CFSET. You'll have to put the conditi

Re: CFSET construct

2005-05-25 Thread Stuart Kidd
Thanks to everyone with their help on that, it's all now solved. :) ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a clie

Re: CFset problem

2007-01-30 Thread Charlie Griefer
> > It says that it cannot convert " " to a number. I even put a cfset statement > in there to set the field to 1 but it isn't working. Any ideas? > > Below is the query to find the highest number and the cfif statement to > handle the number.

Re: CFset problem

2007-01-30 Thread Scott Weikert
Melissa Weber wrote: > > > > > > > It's because the query HAS a recordcount every time, I think - and it's returning " " as the result. So instead of try or . Also you don't need the pound signs in ~~~

RE: CFset problem

2007-01-30 Thread Eric Roberts
al Message- From: Melissa Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 January 2007 14:30 To: CF-Talk Subject: CFset problem I've very new to ColdFusion and need some help. I've written a page that has six fields: office, year, number, title, contact and phone number. The

Re: CFset problem

2007-01-31 Thread Patrick Farabee
Your select statement will always return 1 row, and it will either contain the max number, or "" So, use: Select Max(ReqNum) as HighestNumber from PrintingReq No need for a cfif, since val("") returns 0 -- Pat ~| Upgra

Re: CFset problem

2007-01-31 Thread Melissa Weber
Thanks everyone for your help. I add the val() and it worked perfectly. Now on to my next big coding project. Thanks again and I'm sure that I'll be asking more questions as the time comes. ~| Upgrade to Adobe ColdFusion MX7

My CFSET error

2005-02-01 Thread Chris Kavanagh
Hi List, This CFSET is returning the error: "Variable DIFFTYPE is undefined." -- -- :/ Can anybody see what I'm doing wrong?

RE: CFSET in CFMX

2002-12-05 Thread Kwang Suh
> 3. Setting a variable to a combination of text and dynamic data > can be done by > setting the dynamic data within the string OR by concatenating it > all together. > Both are about the same speed. > "&dateformat(now())&". > Your index is "&i> > Yay! The first syntax was incredibly slow in pr

Re: CFSET in CFMX

2002-12-05 Thread Michael Dinowitz
The first or the second? I and others had seen the second taking more time. In the first CF is putting a string together from pieces. In the second CF is parsing the string once to find CF elements and then evaluating them. An additional bit of work. > > Both are about the same speed. > > > "&dat

Re: CFSET in CFMX

2002-12-06 Thread Sean A Corfield
h is code: CFML now behaves more like other languages). On Thursday, Dec 5, 2002, at 22:07 US/Pacific, Michael Dinowitz wrote: > 1. There is no speed difference between using CFSET to set a variable > and using > CFSCRIPT to do so. This is true for setting a single variable as well > as

Re: CFSET in CFMX

2002-12-06 Thread Gyrus
- Original Message - From: "Michael Dinowitz" <[EMAIL PROTECTED]> > Your index is "&i> > > This is where things get tricky style wise. FWIW, I've settled on the latter. In Homesite+ I have strings set to be light blue and italicised. So with the second one I

RE: CFSET in CFMX

2002-12-06 Thread Kwang Suh
Well, using CFSCRIPT, the first was always unbelieveably slow. > -Original Message- > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 11:39 PM > To: CF-Talk > Subject: Re: CFSET in CFMX > > > The first or the second? I and ot

RE: CFSET in CFMX

2002-12-07 Thread Dave Watts
> It's really interesting - to me - to see such attention > to such 'small' language details in terms of performance. > ColdFusion is the only language I've ever worked in where > such small details made such big difference in speed... > and now it seems it is only historical (which is code: >

RE: CFSET in CFMX

2002-12-08 Thread Jim Davis
> -Original Message- > From: Dave Watts [mailto:[EMAIL PROTECTED]] > Sent: Sunday, December 08, 2002 2:38 AM > To: CF-Talk > Subject: RE: CFSET in CFMX > > > > It's really interesting - to me - to see such attention > > to such 'smal

Re: CFSET in CFMX

2002-12-08 Thread Michael Dinowitz
etween IIF and CFIF (a difference that does not exist in CFMX). Knowing that things are coded differently, it was logical to think that the code for a CFSET might be different than the code for a CFSCRIPT. Each CFSET would be its own tag to be parsed one by one where all of the elements of a CFSCRIP

RE: CFSET in CFMX

2002-12-08 Thread paul smith
It's funny you should bring caching up, Dave. What do you make of this error message? Retrieval of cached query failed The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (74:1) to (74:175) in the template file C:\WEBSITE\HTDOCS\SM

  1   2   3   4   5   >