Re: Stupid Question

2011-07-01 Thread Scott Brady
://cf4em.com -Original Message- From: Stephane Vantroyen [mailto:s...@emakina.com] Sent: Thursday, June 30, 2011 2:56 PM To: cf-talk Subject: Re: Stupid Question Maybe a stupid question too, but why is it better to use structkeyexists() than isdefined() ? Both will check

Re: Stupid Question

2011-07-01 Thread Russ Michaels
- From: Stephane Vantroyen [mailto:s...@emakina.com] Sent: Thursday, June 30, 2011 2:56 PM To: cf-talk Subject: Re: Stupid Question Maybe a stupid question too, but why is it better to use structkeyexists() than isdefined() ? Both will check if the given variable exists right? I

RE: Stupid Question

2011-07-01 Thread Bryan Stevenson
) Otherwise you are creating a variable for no specific purpose. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Bryan Stevenson [mailto:br...@electricedgesystems.com] Sent: Friday, 1 July 2011 7:48 AM To: cf-talk Subject: Re: Stupid Question

Re: Stupid Question

2011-07-01 Thread Sean Corfield
On Thu, Jun 30, 2011 at 8:28 PM, Andrew Scott andr...@andyscott.id.au wrote: Yes but the code should be written cfset myQuery = queryNew(column1) cfset queryAddRow(myQuery) cfset querySetCell(myQuery,column1,blah blah blah) Shouldn't that be: cfset myQuery = queryNew(column1) cfset

RE: Stupid Question

2011-07-01 Thread Andrew Scott
...@electricedgesystems.com] Sent: Saturday, 2 July 2011 4:19 AM To: cf-talk Subject: RE: Stupid Question can't anyone on this list take a joke ;-) Thanks for being perfect Andrew ;-) Cheers ~| Order the Adobe Coldfusion

Re: Stupid Question

2011-06-30 Thread Dan Baughman
I've seen stuff like this happen if capability_detail.capability_id had been assigned to a function that didnt return a value. For some reason its defined but in some null state. On Thu, Jun 30, 2011 at 11:37 AM, Robert Harrison rob...@austin-williams.com wrote: If I have these two lines of

Re: Stupid Question

2011-06-30 Thread Leigh
When the error occurs, is #capability_detail# defined? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Stupid Question

2011-06-30 Thread Russ Michaels
well first you don't need the #'s in the cfset second cfparam may be creating a variable instead of a struct, this happens in certain situations with older versions of CF. so try this cfparam name =capability_detail default=#StructNew()# cfparam name=capability_detail.capability_id default=0

RE: Stupid Question

2011-06-30 Thread Robert Harrison
-Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Thursday, June 30, 2011 1:42 PM To: cf-talk Subject: Re: Stupid Question I've seen stuff like this happen if capability_detail.capability_id had been assigned to a function that didnt return a value. For some reason its

Re: Stupid Question

2011-06-30 Thread Claude Schnéegans
It may depend on the code between the two lines cfparam name=capability_detail.capability_id default=0 cfset cur_cap=#capability_detail.capability_id# For instance, this works: cfparam name=capability_detail.capability_id default=0 cfset cur_cap=#capability_detail.capability_id#

RE: Stupid Question

2011-06-30 Thread Leigh
Sometime the query get that value and sometimes it doesn't... Do you mean column? Query objects are not the same as structures. I do not think you can just create a column that way. ie This fails cfset capability_detail = queryNew(ID) cfparam name=capability_detail.capability_id default=0

Re: Stupid Question

2011-06-30 Thread Claude Schnéegans
It is assigned to a function that returns a query. Oh, I think you cannot assign a value to a column name in a query, neither with CFSET, neither with CFPARAM. You must use querySetCell () ~| Order the Adobe Coldfusion

RE: Stupid Question

2011-06-30 Thread Robert Harrison
Just asking the question is bad... the line cfif IsDefined(capability_detail.capability_id) Gives me the error Element CAPABILITY_ID is undefined in CAPABILITY_DETAIL. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100

Re: Stupid Question

2011-06-30 Thread Russ Michaels
what is CAPABILITY_DETAIL at the point the error occurs a struct, a query, etc ? On Thu, Jun 30, 2011 at 6:58 PM, Robert Harrison rob...@austin-williams.com wrote: Just asking the question is bad... the line cfif IsDefined(capability_detail.capability_id) Gives me the error

Re: Stupid Question

2011-06-30 Thread Dan Baughman
You would ask it like this: cfif IsDefined('capability_detail.capability_id') On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison rob...@austin-williams.com wrote: Just asking the question is bad... the line cfif IsDefined(capability_detail.capability_id) Gives me the error

Re: Stupid Question

2011-06-30 Thread Leigh
Just asking the question is bad... the line         cfif IsDefined(capability_detail.capability_id) Gives me the error Because you forgot the quotes around the variable name. But as a few people have asked what is the value of capability_detail _not_ capability_detail.capability_id)

RE: Stupid Question

2011-06-30 Thread Andrew Scott
[mailto:dan.baugh...@gmail.com] Sent: Friday, 1 July 2011 4:05 AM To: cf-talk Subject: Re: Stupid Question You would ask it like this: cfif IsDefined('capability_detail.capability_id') On Thu, Jun 30, 2011 at 11:58 AM, Robert Harrison robert@austin- williams.com wrote: Just

Re: Stupid Question

2011-06-30 Thread Russ Michaels
structKeyExists(capability_detail, 'capability_id') /cfif And you should avoid using isDefined(). Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Friday, 1 July 2011 4:05 AM To: cf-talk Subject: Re

RE: Stupid Question

2011-06-30 Thread DURETTE, STEVEN J (ATTASIAIT)
Why avoid isDefined()? -Original Message- From: Andrew Scott [mailto:andr...@andyscott.id.au] Sent: Thursday, June 30, 2011 2:12 PM To: cf-talk Subject: RE: Stupid Question Actually without getting into a flame war with Dave and others, it should be better to use cfif structKeyExists

RE: Stupid Question

2011-06-30 Thread DURETTE, STEVEN J (ATTASIAIT)
But if you include the scope in the call then you would be fine right? I SCOPE EVERYTHING!!! -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, June 30, 2011 2:18 PM To: cf-talk Subject: Re: Stupid Question and the reason being that IsDefined

RE: Stupid Question

2011-06-30 Thread Leigh
Actually without getting into a flame war I wanted to find out what type of object capability_detail is first .. and tackle the isDefined / structKeyExists debate later ;) ~| Order the Adobe Coldfusion Anthology now!

Re: Stupid Question

2011-06-30 Thread Dan Baughman
(capability_detail, 'capability_id') /cfif And you should avoid using isDefined(). Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Friday, 1 July 2011 4:05 AM To: cf-talk Subject: Re: Stupid Question

Re: Stupid Question

2011-06-30 Thread Stephane Vantroyen
Maybe a stupid question too, but why is it better to use structkeyexists() than isdefined() ? Both will check if the given variable exists right? I don't get it, is it bound to performance or so? I thought of that, but then wasn't sure how that would behave if capability_detail was a query.

RE: Stupid Question

2011-06-30 Thread Robert Harrison
To answer the question, capability_detail is a query. It returns one and only one record... so I personally see no reason to avoid IsDefined in this case. And thanks for the correction on my syntax error. That was helpful and the code is working now. When I'm heavily focused on the logic

RE: Stupid Question

2011-06-30 Thread Leigh
capability_detail is a query.  It returns one and only one record... Out of curiosity, what condition was your cfparam trying to prevent? 1) query contained 0 records 2) query did _not_ contain the column capability_id .. ?

RE: Stupid Question

2011-06-30 Thread Robert Harrison
Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: Thursday, June 30, 2011 3:38 PM To: cf-talk Subject: RE: Stupid Question capability_detail is a query. It returns one and only one record... Out of curiosity, what condition was your cfparam trying to prevent? 1) query contained

RE: Stupid Question

2011-06-30 Thread Leigh
The cfparam tag was trying to set default values (like zero) for columns that may not always be returned from the query. That did not work, but the IsDefined did work.  So what code did you end up using to set this default? I ask because nothing I am envisioning works under CF9. No error,

RE: Stupid Question

2011-06-30 Thread Bobby Hartsfield
Yes, performance. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Stephane Vantroyen [mailto:s...@emakina.com] Sent: Thursday, June 30, 2011 2:56 PM To: cf-talk Subject: Re: Stupid Question Maybe a stupid question too

Re: Stupid Question

2011-06-30 Thread Russ Michaels
As I said earlier, IsDefined() will search every single scope for a var with the name you you specify, StructKeyExists() will only look in the specified struct. On Thu, Jun 30, 2011 at 7:55 PM, Stephane Vantroyen s...@emakina.com wrote: Maybe a stupid question too, but why is it better to

Re: Stupid Question

2011-06-30 Thread Russ Michaels
that is probably the cause of your problem them, you cannot use cfset or cfparam to set a value in a query. On Thu, Jun 30, 2011 at 8:38 PM, Leigh cfsearch...@yahoo.com wrote: capability_detail is a query. It returns one and only one record... Out of curiosity, what condition was your

Re: Stupid Question

2011-06-30 Thread Michael Grant
Also, if you have a variable (not a struct) named capability_detail.capability_id isDefined will return true, despite the fact that it's not a key in the structure. StructKeyExists is better IMO. On Thu, Jun 30, 2011 at 5:29 PM, Russ Michaels r...@michaels.me.uk wrote: As I said earlier,

Re: Stupid Question

2011-06-30 Thread Bryan Stevenson
Well there is a slight nuance there.you can use CFET to set the value of a column in a specific row of a querybut it's sort of cheating because you do it using functionsyou can't set it directly as was shown in this thread. cfset myQuery = queryNew(column1) cfset x =

Re: Stupid Question

2011-06-30 Thread Leigh
Well there is a slight nuance there. Yep. I am aware of that option .. but could not see your code from here ;) Mystery solved. (Thanks for taking the time to satisfy my curiosity :) -Leigh ~| Order the Adobe

Re: Stupid Question

2011-06-30 Thread Russ Michaels
That is just being Pedantic Bryan :-) clearly it was meant you cannot do cfset query.column = value On Thu, Jun 30, 2011 at 10:48 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Well there is a slight nuance there.you can use CFET to set the value of a column in a specific

Re: Stupid Question

2011-06-30 Thread Bryan Stevenson
Yes I was ;-) ...and don't forget to read my whole posthere's the piece you missed... but it's sort of cheating because you do it using functionsyou can't set it directly as was shown in this thread. So I already stated I was being a toolI try and do that so others don't

Re: Stupid Question

2011-06-30 Thread Russ Michaels
every needs a good tool :-) On Thu, Jun 30, 2011 at 11:04 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Yes I was ;-) ...and don't forget to read my whole posthere's the piece you missed... but it's sort of cheating because you do it using functionsyou can't

Re: Stupid Question

2011-06-30 Thread Leigh
Yes I was ;-) Fortunately some of us have a good filter for screening that stuff out ;) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

RE: Stupid Question

2011-06-30 Thread Andrew Scott
...@austin-williams.com] Sent: Friday, 1 July 2011 5:57 AM To: cf-talk Subject: RE: Stupid Question Out of curiosity, what condition was your cfparam trying to prevent? The URL structure works like this: http://blah-blad.com/services-detail.cfm/bariatric-and-wellness (which is a high

RE: Stupid Question

2011-06-30 Thread Andrew Scott
- From: Bryan Stevenson [mailto:br...@electricedgesystems.com] Sent: Friday, 1 July 2011 7:48 AM To: cf-talk Subject: Re: Stupid Question Well there is a slight nuance there.you can use CFET to set the value of a column in a specific row of a querybut it's sort of cheating because you

Re: Stupid mistake :)

2010-10-07 Thread Russ Michaels
part of the problem is is because even though you are doing 50 per page I bet your query grabs ALL the records each time, which means CF and the database gets hammered by search bots. there are 2 ways round this and to also provide better performance overall.. 1. cache the recordset and use the

Re: Stupid mistake :)

2010-10-06 Thread Michael Grant
I would think this is a good situation for pragma=no-cache. On Wed, Oct 6, 2010 at 6:30 PM, Al Musella, DPM muse...@virtualtrials.comwrote: Just wanted to mention it so others don't repeat it. I have a webpage that lets you scroll through a few pages of listings with a previous 50 /

Re: Stupid cfgrid... Can some one help me out ?

2008-06-09 Thread Phill B
I would be happy with a cf8 html grid if it didn't require you to click 2 - 3 times just to set a check box. Come to think of it I had to click twice on all the cells just to start editing them. That is why I went with the flash grid. On Fri, Jun 6, 2008 at 2:50 PM, Dan Vega [EMAIL PROTECTED]

Re: Stupid cfgrid... Can some one help me out ?

2008-06-06 Thread Dan Vega
Just curious why you want this to be a flash grid? You should be able to do this with cf8 html grid. Dan On Fri, Jun 6, 2008 at 12:11 PM, Phill B [EMAIL PROTECTED] wrote: All I want to do is have a flash grid display a name and a check box. When the user clicks the check box, an onchange

Re: Stupid Select Issue Solved

2008-05-20 Thread Bruce Sorge
OK, I solved the problem. In my SP, I was sorting the departments by name. I removed the ORDER BY clause and now it is working. Bruce ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get

Re: Stupid Select Issue

2008-05-20 Thread morgan l
Change select name=SiteID id=SiteID onchange=Populate(this.selectedIndex) to select name=SiteID id=SiteID onchange=Populate(this.value) selectedIndex only works if there are no gaps in SiteID, and what you want is the value of that selectedIndex, no matter where it falls in the option list.

RE: stupid cfscript/javascript question

2008-02-06 Thread Dave Watts
I have this script cfscript function show_new(dt) ... I need to call it inside a li tag li style=list-style-type:square; margin-left:-18px; margin-right: 8px; li ...cfoutput#show_new(your_date_variable)#/cfoutput/li Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

RE: stupid cfscript/javascript question

2008-02-06 Thread Adrian Lynch
Call it inline liMy list itemscript type=text/javascriptmyFunctionCall();/script/li Nothing to do with your problem, but check out jQuery if you want an easier life with JS. Adrian -Original Message- From: Scott Stewart Sent: 06 February 2008 16:43 To: CF-Talk Subject: stupid

RE: stupid cfscript/javascript question

2008-02-06 Thread Andy Matthews
li#show_new(value)#/li -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:43 AM To: CF-Talk Subject: stupid cfscript/javascript question I've completely forgotten how to do this.. I have this script cfscript function show_new(dt)

Re: stupid cfscript/javascript question

2008-02-06 Thread gary gilbert
li style=list-style-type:square; margin-left:-18px; margin-right: 8px; cfoutput #show_new(dt)# /cfoutput /li -- Gary Gilbert http://www.garyrgilbert.com/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and

RE: stupid cfscript/javascript question

2008-02-06 Thread Adrian Lynch
*whistles* I hope no one see my reply :OS *whistles* -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 06 February 2008 16:49 To: CF-Talk Subject: RE: stupid cfscript/javascript question Call it inline liMy list itemscript type=text/javascriptmyFunctionCall

RE: stupid cfscript/javascript question

2008-02-06 Thread Scott Stewart
To: CF-Talk Subject: RE: stupid cfscript/javascript question li#show_new(value)#/li -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 06, 2008 10:43 AM To: CF-Talk Subject: stupid cfscript/javascript question I've completely forgotten how to do

Re: stupid cfscript/javascript question

2008-02-06 Thread Bruce Sorge
Is that what I smell. I thought the guy in the cube next to me broke wind. :) Bruce Scott Stewart wrote: Thanks all... Sorry for the brain fart ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: Stupid Array Question... Part 2

2008-01-10 Thread Matt Williams
cfloop from=1 to=#ArrayLen(MyArray)# index=i cfoutput#i#/cfoutput //outputs the key value cfoutput#MyArray[i]#/cfoutput //outputs the element value /cfloop On Jan 10, 2008 9:57 AM, Robert Harrison [EMAIL PROTECTED] wrote: I have a simple array. When I do a dump it gives me the key and

RE: Stupid Array Question... Part 2

2008-01-10 Thread Adrian Lynch
Try: cfloop from=1 to=#ArrayLen(MyArray)# index=i #i#: #MyArray[i]# /cfloop Adrian http://www.adrianlynch.co.uk/ -Original Message- From: Robert Harrison Sent: 10 January 2008 15:57 To: CF-Talk Subject: Stupid Array Question... Part 2 I have a simple array. When I do a dump it

Re: Stupid Array Question... Part 2

2008-01-10 Thread Todd
cfloop from=1 to=#ArrayLen(MyArray)# index=i cfoutput#i# = #MyArray[i]#/cfoutput /cfloop On Jan 10, 2008 10:57 AM, Robert Harrison [EMAIL PROTECTED] wrote: I have a simple array. When I do a dump it gives me the key and one element. Like: Key Value 1 34 2 67 3 52 I want to

RE: Stupid Array Question... Part 2

2008-01-10 Thread Robert Harrison
-williams.com Great advertising can't be either/or... It must be . -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 11:00 AM To: CF-Talk Subject: RE: Stupid Array Question... Part 2 Try: cfloop from=1 to=#ArrayLen(MyArray)# index=i #i

RE: Stupid CF 5 Question

2007-12-12 Thread Dave Watts
These aren't really part of CF 5 per se. Rather they are a part of the ODBC settings in windows. You can cause DSN's to show up in the datasources by using the ODBC control panel - and visa versa. Look in the registry for ODBC under local machine (not sure of the exact location). You

RE: Stupid CF 5 Question

2007-12-11 Thread Dave Watts
Okay, I've combed the Internet and the Macromedia site, and my Google-Fu has failed me. All I want to know is this: Under Windows 2000, under CF 5, what file(s) store the datasources? If I wanted to back up all the information on, say, the Native Datasources, what would I back up?

RE: Stupid CF 5 Question

2007-12-11 Thread Mark Kruger
These aren't really part of CF 5 per se. Rather they are a part of the ODBC settings in windows. You can cause DSN's to show up in the datasources by using the ODBC control panel - and visa versa. Look in the registry for ODBC under local machine (not sure of the exact location).

RE: Stupid CF 5 Question

2007-12-11 Thread Mark Kruger
Doh! Beat me to it ... Dang it. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 4:22 PM To: CF-Talk Subject: RE: Stupid CF 5 Question Okay, I've combed the Internet and the Macromedia site, and my Google-Fu has failed me. All I want

RE: stupid maintenance agreement question...

2007-08-22 Thread Howell, Craig H Civ WRALC/ITMS
I'm dealing with the same situation. Adobe has the absolute worst customer service. I work for the Federal Government. Someone in the business office may order our software. This gets their name associated with our software in Adobe's records. We reorgthey leaveetc. Now Adobe tells

RE: stupid maintenance agreement question...

2007-08-22 Thread Brad Wood
Do you know your login to the Adobe site? In our case, they E-mailed the coupon code for the upgrade to the E-mail address which was registered in our account as the contact information. The employee who had ordered CF no longer worked here, but luckily we new the login and changed the address

RE: stupid maintenance agreement question...

2007-08-22 Thread Dawson, Michael
It's possible that, since you have proof of purchase, that Adobe will honor that invoice. After contacting Adobe's sales support, you should also go back to SHI and work your way up the reporting structure. By contacting Adobe, you will have doubled your chances of getting what you need. M!ke

Re: stupid maintenance agreement question...

2007-08-22 Thread Andy Allan
Here in the UK, certainly from past experience, you would receive your maintenance updates from whoever you purchased it from. I've not yet had to deal with Adobe for this, but from folks I know who have, it's been nothing short of a nightmare. One story I heard was that even though my contact

RE: Stupid Date Question

2007-06-15 Thread Dawson, Michael
Your code tells CF that Day is divided by Month is divided by Year. Use the createDate() function first. You can wrap a try/catch around it. If CF can't create a valid date from your input, then isDate() will throw a catachable exception. Or use isDate(form.day / form.month / form.year) to

Re: Stupid Date Question

2007-06-15 Thread Aaron Rouse
Did not test it but I think this would work: IsDate(#Form.day#/#form.Month#/#Form.Year#) May need to switch the placement of the day and the month. I personally would use a CreateDate function either within the IsDate function or on a variable that is then used in the IsDate function. On

Re: Stupid Date Question

2007-06-15 Thread Ariel Jakobovits
quotation marks and pound signs? - Original Message From: Robert Harrrison [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, June 15, 2007 1:09:32 PM Subject: Stupid Date Question I validate dates all the time, but in this case I have to combine three separate fields

Re: Stupid Date Question

2007-06-15 Thread Andrew Scott
How about. cfif isDefined(form.Year) and isDefined(form.Month) and isDefined( form.Day) cfif IsDate(CreateDate(form.year,form.month,form.day)) Date Valid cfelse Date is invalid /cfif /cfif On 6/16/07, Robert Harrrison [EMAIL PROTECTED] wrote: I validate dates all the time, but in

Re: Stupid Date Question

2007-06-15 Thread Alan Rother
Only one problem with this code cfif isDefined(form.Year) and isDefined(form.Month) and isDefined( form.Day) cfif IsDate(CreateDate(form.year,form.month,form.day)) Date Valid cfelse Date is invalid /cfif /cfif If the data entered into either of the three form fields is invalid, the

Re: Stupid Date Question

2007-06-15 Thread Andrew Scott
very true On 6/16/07, Alan Rother [EMAIL PROTECTED] wrote: Only one problem with this code cfif isDefined(form.Year) and isDefined(form.Month) and isDefined( form.Day) cfif IsDate(CreateDate(form.year,form.month,form.day)) Date Valid cfelse Date is invalid /cfif /cfif If the data

RE: Stupid CFFILE

2007-01-19 Thread Ian Skinner
But I am getting an error that says Attribute validation error in CFFILE. So what gives? The server is a Windows 2K3 server running CFMX 7.2. Is there a possibility of a permission error? The CF/Jrun service does not have permission to read/write/copy in one or more of those directories? I

Re: Stupid CFFILE

2007-01-19 Thread Kris Jones
The two directories do not reside on different partitions do they? There is a note in the Livedocs to the effect that the java library involved has an issue with that. Is there a possibility of a permission error? The CF/Jrun service does not have permission to read/write/copy in one or more

Re: Stupid CFFILE

2007-01-19 Thread Bruce Sorge
They are on the same partition. This is a test server that has only one partition and currently this is the only app residing on it. The file I am trying to move was loaded up by another part of this app using CFFILE and there are no issues with that. Bruce Sorge I'm a mawg: half man, half dog.

RE: Stupid CFFILE

2007-01-19 Thread Peterson, Chris
: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 3:57 PM To: CF-Talk Subject: Re: Stupid CFFILE They are on the same partition. This is a test server that has only one partition and currently this is the only app residing on it. The file I am trying to move was loaded up

Re: Stupid CFFILE

2007-01-19 Thread Bruce Sorge
OK, so I did this on my local machine now rather than the server, and I get this message: An exception occurred when performing a file operation copy on files C:\Inetpub\wwwroot\DONE\election_procedure\tempBylaws\Roser.doc and C:\Inetpub\wwwroot\DONE\election_procedure\Bylaws. I hardcoded the

RE: Stupid Field Names

2006-11-17 Thread James Smith
It sounds kind of like you have this in a query...so you could use... cfoutput query=myquery #myquery[order-id][currentrow]# /cfoutput Yup, it was a query, and that fixed it, thanks. -- Jay ~| Introducing the Fusion

Re: Stupid Field Names

2006-11-16 Thread Aaron Roberson
Perhaps #order-id# would work. Referencing it as a string will eliminate any chance of id being subtracted from order. HTH, -Aaron On 11/16/06, James Smith [EMAIL PROTECTED] wrote: While processing Amazon report files I notice that they have labelled most of their fields with - in. For

Re: Stupid Field Names

2006-11-16 Thread Rob Wilkerson
I'm a little unclear about the type of structure you're using, but what about #['order-id']#? On 11/16/06, James Smith [EMAIL PROTECTED] wrote: While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Having

RE: Stupid Field Names

2006-11-16 Thread Andy Matthews
Assuming the query is in the Variable scope, then VARIABLES[order-id]? !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: James Smith

Re: Stupid Field Names

2006-11-16 Thread JediHomer
You could try something like #Variables[order-id]# or whatever scope they are in... On 16/11/06, James Smith [EMAIL PROTECTED] wrote: While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Having

Re: Stupid Field Names

2006-11-16 Thread Jim Wright
James Smith wrote: While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Having queried this file how am I going to be able to refer to the field, obviously #order-id# won't work as it will try to

RE: Stupid Field Names

2006-11-16 Thread Dave Watts
While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Having queried this file how am I going to be able to refer to the field, obviously #order-id# won't work as it will try to evaluate the var

RE: Stupid Field Names

2006-11-16 Thread Bobby Hartsfield
#variables['order-id']# MIGHT work. It allows you to have variables like 123myvar so give it a shot. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 12:27 PM To: CF-Talk

RE: Stupid Field Names

2006-11-16 Thread Dave Francis
If it's a sql query you could select order-id as orderId etc -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 1:14 PM To: CF-Talk Subject: Re: Stupid Field Names James Smith wrote: While processing Amazon report files I notice

RE: Stupid Field Names

2006-11-16 Thread Brad Wood
: Thursday, November 16, 2006 12:27 PM To: CF-Talk Subject: RE: Stupid Field Names #variables['order-id']# MIGHT work. It allows you to have variables like 123myvar so give it a shot. ...:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com

Re: Stupid Field Names

2006-11-16 Thread Claude Schneegans
While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Probably the same moron who designed the CSS style names ;-) -- ___ REUSE CODE! Use custom tags; See

Re: Stupid Field Names

2006-11-16 Thread Jochem van Dieten
James Smith wrote: While processing Amazon report files I notice that they have labelled most of their fields with - in. For example order-id and payments-date. Having queried this file how am I going to be able to refer to the field, obviously #order-id# won't work as it will try to

Re: Stupid apache question

2006-10-17 Thread Rob Wilkerson
having troubles. It gives an error regarding the configuration directory. Where exactly is that directory? - Original Message - From: Rob Wilkerson [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, October 16, 2006 7:37 PM Subject: Re: Stupid apache question

Re: Stupid apache question

2006-10-17 Thread Rob Wilkerson
On 10/17/06, Rob Wilkerson [EMAIL PROTECTED] wrote: The configuration directory is the directory in which your httpd.conf file is located. It's typically apache install root/conf/. Rob Wilkerson On Oct 16, 2006, at 9:52 PM, Doug Brown wrote: Well, it is a stand alone dev machine and I

RE: Stupid apache question

2006-10-16 Thread Doug Bezona
Localhost (127.0.0.1) assuming it's you're local machine. -Original Message- From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 10/16/06 9:03 PM Subject: Stupid apache question I thought I would give apache a try, and I downloaded the install. When I go to

Re: Stupid apache question

2006-10-16 Thread Doug Brown
: RE: Stupid apache question Localhost (127.0.0.1) assuming it's you're local machine. -Original Message- From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 10/16/06 9:03 PM Subject: Stupid apache question I thought I would give apache a try, and I

Re: Stupid apache question

2006-10-16 Thread Rob Wilkerson
On Oct 16, 2006, at 9:10 PM, Doug Bezona wrote: Localhost (127.0.0.1) assuming it's you're local machine. -Original Message- From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 10/16/06 9:03 PM Subject: Stupid apache question I thought I would give

Re: Stupid apache question

2006-10-16 Thread Rob Wilkerson
Subject: RE: Stupid apache question Localhost (127.0.0.1) assuming it's you're local machine. -Original Message- From: Doug Brown [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: 10/16/06 9:03 PM Subject: Stupid apache question I thought I would give apache a try, and I

Re: Stupid apache question

2006-10-16 Thread Doug Brown
@houseoffusion.com Sent: Monday, October 16, 2006 7:37 PM Subject: Re: Stupid apache question First and foremost, stop IIS. Well, assuming you want Apache to start answering on port 80, anyway. Apache won't start if IIS is already listening to port 80. Second, run wsconfig to install

Re: Stupid form fields

2006-05-31 Thread Mike Tangorre
Probably the quotes in the dump tag. Try this... cfdump var=#form['CH58']#cfabort HTH, Mike T. From: Robert Everland III [EMAIL PROTECTED] cfdump var=#form[CH58]#cfabort ~| Message:

Re: Stupid form fields

2006-05-31 Thread Robert Everland III
I've done that, same result. Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241829 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

RE: Stupid form fields

2006-05-31 Thread Ben Nadel
It might be a spacing issue... Try trimming the values in the list or adding (space) as a delimiter: cfloop index=1 list=#reportCardFields# delimiters=,!--- Use comma and space as delimiters. --- ... Ben Nadel www.bennadel.com -Original Message- From: Robert

Re: Stupid form fields

2006-05-31 Thread Jim
You have spaces in your list. Try: cfset form[trim(listgetat(i, 1 , :))] = listgetat(i, 2 , :) cfset form[trim(i)] = Robert Everland III wrote: I've done that, same result. Bob ~| Message:

Re: Stupid form fields

2006-05-31 Thread Robert Everland III
That is what it was. Thanks for the help Bob ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241833 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription:

Re: Stupid Fusebox question

2005-12-08 Thread Barney Boisvert
You shouldn't have index.cfm except in your webroot with FB3. FB2 had index.cfm files in every directory, but that was the last version. Became fbx_Switch.cfm in FB3 and then circuit.xml in FB4. cheers, barneyb On 12/8/05, Scott Stewart [EMAIL PROTECTED] wrote: I'm building a fusebox 3.0 app,

  1   2   3   >