Re: Val function seems buggy

2004-08-08 Thread Dick Applebaum
On Aug 8, 2004, at 9:16 PM, S. Isaac Dealey wrote: >  Don't ploy me with your 4-fingered hands! :) Bi-Quinary was one of my early favorites, But, then I discovered the Trinary (base 3) numbering system -- interesting name for the atomic unit! Dick [Todays Threads] [This Message] [Subscrip

Re: Val function seems buggy

2004-08-08 Thread S . Isaac Dealey
> On Sun, 08 Aug 2004 16:40:17 -0400, Michael Dinowitz > <[EMAIL PROTECTED]> wrote: >> 0 alone is a number. 0 after 1 is the number 10. 021 is >> the number 21. This is how it is in all programming >> languages. > > In some programming languages (C, C++ and others in that > family), 021 > means 2

Re: Val function seems buggy

2004-08-08 Thread Don
No, not good enough, but forget it I've got the problem resolved as I noted when I first posted the msg. >>>needed to get all the digits portion of a VAR > >Then just use reverse(), you dont need val(). > >-- >___ >REUSE CODE! Use custom tags; >See http://www.co

Re: BLACKSTONE Sneak Preview Posted

2004-08-08 Thread Don
Charlie encouraged me to join the BD list, I decided to take a shot at it, let me be honest, say, MM CF team and BD team are equally talented, MM has invested so much time and resources into CF and CF has come a long way to reach its current status while BD is a new kid in the block (no disrespect,

Re: Val function seems buggy

2004-08-08 Thread Claude Schneegans
>>needed to get all the digits portion of a VAR Then just use reverse(), you dont need val(). -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. [To

Re: Val function seems buggy

2004-08-08 Thread Don
OK, I expected a bit too much from Val :), needed to get all the digits portion of a VAR.  Thanks for everyone's input and time. > >No, it isn't - at least not mathematically.  In math you use significant >digits only - meaning, basically, only those digits that would affect the >outcome in an ope

Re: Val function seems buggy

2004-08-08 Thread Michael Dinowitz
Now we're getting into unnecessary semantics which just spirals down into just so much OT. > On Sun, 08 Aug 2004 16:40:17 -0400, Michael Dinowitz > <[EMAIL PROTECTED]> wrote: > > 0 alone is a number. 0 after 1 is the number 10. 021 is the number 21. This is how it is in all programming languages.

Re: CFC db return

2004-08-08 Thread Carl V
Ahh thanks (doh), is there an easier way to get just the Requirements1,2,3 and the Proposed1,2,3,4 into a list, than doing my usual one by one method? :) Thanks >Shouldn't you be doing something like this > >stReturn.a= ListGetAt( Valuelist( qGetSiteConfig.Config_VariableName >),  ListFindNoCase

Re: Val function seems buggy

2004-08-08 Thread Claude Schneegans
>>You don't know your C or C++ well enough... Right, I must admit I have forgotten a little this part, I've never used octal numbers actually, I've always worked in hexadecimal. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags

Re: Val function seems buggy

2004-08-08 Thread Sean Corfield
On Sun, 08 Aug 2004 20:27:22 -0400, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>In some programming languages (C, C++ and others in that family), 021 > means 21 OCTAL which is 17 decimal. > > Not exactly: \021 is octal, and it should be include between quotes, like in > x = '\021'; You don't

Re: SELETCT IN (LISTOFSTRINGS)

2004-08-08 Thread Ewok
listqualify() is more of what I set out to find, thanks, I ended up using the cfqueryparam. cftalk ALWAYS prevails  : )   - Original Message -   From: Michael Dinowitz   To: CF-Talk   Sent: Sunday, August 08, 2004 6:56 PM   Subject: Re: SELETCT IN (LISTOFSTRINGS)   When you have a sing

Re: Val function seems buggy

2004-08-08 Thread Claude Schneegans
>>In some programming languages (C, C++ and others in that family), 021 means 21 OCTAL which is 17 decimal. Not exactly: \021 is octal, and it should be include between quotes, like in x = '\021'; -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.co

Re: Val function seems buggy

2004-08-08 Thread Claude Schneegans
>>021 IS DIFFERNT FROM 21. As a string, you would be right, however the val() function does not return a string, but a numeric value, and, as numeric values, 021 and 21 are identical. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/cust

Re: Val function seems buggy

2004-08-08 Thread Sean Corfield
On Sun, 08 Aug 2004 16:40:17 -0400, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > 0 alone is a number. 0 after 1 is the number 10. 021 is the number 21. This is how it is in all programming languages. In some programming languages (C, C++ and others in that family), 021 means 21 OCTAL which is 17

Re: Val function seems buggy

2004-08-08 Thread S . Isaac Dealey
> Chunshen (Don) Li wrote: >> Now it goes to the definition of number, 0, as 1 or 2, is >> A NUMBER. >> 021 IS DIFFERNT FROM 21. > Yes, but it is not a significant difference. Meaning that while the _format_ of the number is different, it is not a "different number" in a mathematic context - whic

RE: SELETCT IN (LISTOFSTRINGS)

2004-08-08 Thread Marlon Moyer
Try using this: where Username IN value="#userlist#" separator=","> > -Original Message- > From: Ewok [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 08, 2004 5:46 PM > To: CF-Talk > Subject: SELETCT IN (LISTOFSTRINGS) > > I don't know whats going on here...but as long as the list has

Re: SELETCT IN (LISTOFSTRINGS)

2004-08-08 Thread Michael Dinowitz
When you have a singel value, the IN looks like this: In ('value') When you have multiple values, it looks like this: In ('value1,value2,value3') What you want is to use the ListQualify() function to set each element in the list to be within single quotes (like so) In ('value1','value2','value3') T

Re: SELETCT IN (LISTOFSTRINGS)

2004-08-08 Thread Jochem van Dieten
Ewok wrote: > > > > > select Username, UserID from tbl__Users > where Username IN ('#userlist#') > order by Username > > > > does each item need single quotes and take the single quotes out of the query??? > if i hardcode the list in the query it needs single quotes around each o

SELETCT IN (LISTOFSTRINGS)

2004-08-08 Thread Ewok
I don't know whats going on here...but as long as the list has only one item in it, it works... once it gets more than one it bombs.     select Username, UserID from tbl__Users     where Username IN ('#userlist#')     order by Username does each item need single quotes and take the single quo

RE: Can the following be written in cfscript?

2004-08-08 Thread Joe Eugene
"CF Arrays are actually java.util.Vector data structures underneath the hood." CFMX documentation suggests the above.. i am not quite sure what is under the hood. Have you tried returning a Primitive Array from a Java Class? Yes the documentation says it casts the Primitive Array to Vector...Howe

Re: FCKeditor and Mozilla Firefox

2004-08-08 Thread Matt Robertson
I think calling v2.0 a beta is a bit overoptimistic.  Its more of a teaser/progress report.  Tons of stuff doesn't work, or doesn't work right.  1.6 is solid as a rock, but as you know its IE-only. When it *does* come out, it sure does look like it will be great.  We'll see. -- --Matt Robertson-

RE: FCKeditor and Mozilla Firefox

2004-08-08 Thread Marlon Moyer
Kay, I'm having the same issue with FckEditor and Firefox too.  I'm hoping that it gets fixed soon because between HTMLArea and FCKeditor, FCKEditor is hands down a lot easier to implement. Marlon > -Original Message- > From: John Beynon [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 08

RE: BLACKSTONE Sneak Preview Posted

2004-08-08 Thread Vince Bonfanti
Not sure about Blackstone, but the current release of BlueDragon supports exactly this sort of "mixed mode" deployment. We have one customer, for example, who only deploy their custom tags as "precompiled" templates; the presentation logic is deployed as source, allowing their clients to modify it.

RE: Val function seems buggy

2004-08-08 Thread Jim Davis
From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] Sent: Sunday, August 08, 2004 4:29 PM To: CF-Talk Subject: Re: Val function seems buggy Now it goes to the definition of number, 0, as 1 or 2, is A NUMBER. 021 IS DIFFERNT FROM 21. No, it isn't - at least not mathematically.  In math you use si

Re: Can the following be written in cfscript?

2004-08-08 Thread Peter Farrell
I feel as if I should jump back into the conversation again.  I did ask a loaded question regarding if MM is going to continue with CFscript in the future.  I am sorry for opening up a can of worms. As for the things not available in cfscript (i.e. cfabort, cfinclude, cflocate, etc.), there are wa

Re: Val function seems buggy

2004-08-08 Thread Jochem van Dieten
Chunshen (Don) Li wrote: > Now it goes to the definition of number, 0, as 1 or 2, is A NUMBER. > 021 IS DIFFERNT FROM 21. Yes, but it is not a significant difference. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Re: BLACKSTONE Sneak Preview Posted

2004-08-08 Thread Cutter (CF-Talk)
An example of this sort of application.cfm/property.xml mix is documented a little at http://www.benorama.com Cutter Jim Davis wrote: > This kind of deployment is common in the J2EE world - there's rarely any > source. > > In most applications many of the things that you'd normally find in > Ap

Re: Val function seems buggy

2004-08-08 Thread Michael Dinowitz
0 alone is a number. 0 after 1 is the number 10. 021 is the number 21. This is how it is in all programming languages. A number is a number is a number. If you want to have a 0 in front, then your talking a string (or a forced format number which is basically the same thing). >Now it goes to the d

Re: CFC db return

2004-08-08 Thread Qasim Rasheed
Shouldn't you be doing something like this stReturn.a= ListGetAt( Valuelist( qGetSiteConfig.Config_VariableName ),  ListFindNoCase(  valuelist( qGetSiteConfig.Config_Name ), "RequirementsTitle")) - Original Message - From: Carl V <[EMAIL PROTECTED]> Date: Sun, 08 Aug 2004 15:53:46 -0400 S

Re: Val function seems buggy

2004-08-08 Thread Don
Now it goes to the definition of number, 0, as 1 or 2, is A NUMBER. 021 IS DIFFERNT FROM 21. >I dunno - that seems right to me.  The Val() function returns the value, not >the "digits" - I would expect it to only return significant digits.  After >all the value of "021" is "21" just as the value o

CFC db return

2004-08-08 Thread Carl V
I am having one of those brain freezes??  :) any help is appreciated I have a config.cfc goes along the lines of... Config_Name, Config_VariableName FROM siteConfig and yes I have set the vars for stReturn which cfdumps like this.. CONFIG_NAME - CONFIG_VARIABLENAME 1 RequirementsTitle - 

Re: Val function seems buggy

2004-08-08 Thread Michael Dinowitz
Ha. We're so wrapped up in the Val that we miss the obvious >> >> > >> The value of dtgVar is 21 instead of 021, 021 is correct. >> I have workaround to circumvent the problem though. > >Well given the code above, the value of dtgVar should be 0 since you >populated var120 with "a string", not "

Re: Web Team Project Management App

2004-08-08 Thread Matthew Fusfield
I haven't look at the source for it, but I think it uses the GD library or something similar to create a dynamic image. Not quite as clean as what you might get out of MS Project, but it works pretty well. Matt - Original Message - From: Frank Mamone <[EMAIL PROTECTED]> Date: Sun, 8 Aug 2

RE: Can the following be written in cfscript?

2004-08-08 Thread Dave Watts
> I agree with all that you say. > > But what is the alternative? > > Running multiple versions of CF? > > if MM or NA wants to move the CF install base to their latest versions, > then providing total backward compatibility will forever restrict the > implementation to the mistakes and limitati

reading / writting excel workbooks

2004-08-08 Thread Rob
I was doing some research on something totally unrelated and happened upon this http://www.andykhan.com/jexcelapi/ A java library to read and modify M$ Excel workbooks. Theoretically you could just use it in cfmx (or maybe MM could put it in blackstone :-o). I haven't used it, but there have been

RE: BLACKSTONE Sneak Preview Posted

2004-08-08 Thread Dave Watts
> "Sourceless Deployment" sounds like "deployment without source" > which by definition would not leave Application.cfm editable... Perhaps, but I'm sure there'll be some workaround - for example, referencing text files not in the deployment directory with CFINCLUDE. Dave Watts, CTO, Fig Leaf So

Re: FCKeditor and Mozilla Firefox

2004-08-08 Thread John Beynon
I have had it working yes and don't recall any problems. I've got to use it again tomorrow will will let you know results after, jb. On Sun, 8 Aug 2004 19:55:05 +0800, Kay Smoljak <[EMAIL PROTECTED]> wrote: > Thanks John > > On Sun, 8 Aug 2004 12:31:56 +0100, John Beynon <[EMAIL PROTECTED]>

Re: Web Team Project Management App

2004-08-08 Thread Frank Mamone
Looks like a nice product. I wonder how they did the Gantt chart?   -Frank - Original Message - From: Matthew Fusfield <[EMAIL PROTECTED]> Date: Sat, 7 Aug 2004 09:11:23 -0400 Subject: Re: Web Team Project Management App To: CF-Talk <[EMAIL PROTECTED]> We've been pretty happy with dotPr

Re: Val function seems buggy

2004-08-08 Thread Claude Schneegans
>>that seems right to me. You're quite right. I read too fast and oversight the val() function. Actually, I was a bit upset because of a QofQ again. I have 3 queries with one column having strings, some of them being only digits. I'm trying to UNION them, but I have an error because Mr CF claims

Re: Can the following be written in cfscript?

2004-08-08 Thread Dick Applebaum
I agree with all that you say. But what is the alternative? Running multiple versions of CF? if MM or NA wants to move the CF install base to their latest versions, then providing total backward compatibility will forever restrict the implementation to the mistakes and limitations of past vers

RE: forms and sub-forms best practices feedback desired

2004-08-08 Thread Andy Ousterhout
I have created classes for each of my forms, whether multi-page or not.  The classes, using gets and sets retrieve and store information to the DB and perform all validation.  I persist an instance of the class in a session variable to maintain state between screens for both a single screen form va

Re: Is this possible with CFMX or BD?

2004-08-08 Thread Dick Applebaum
On Aug 7, 2004, at 10:43 PM, Jim Davis wrote: > I've had conversations about this kind of stuff with Mike Nimer in the > past. >  It's one of those things that people either really want or just see > no need >  for at all. > >  One thing I would REALLY LOVE is the ability to call CF from Windows

Re: forms and sub-forms best practices feedback desired

2004-08-08 Thread S . Isaac Dealey
For a display widget? ... Sounds like the wrong thing to use persistence for to me... CFC is a matter of preference. > this sounds like a good excuse to build a persistant cfc > component. > -- Original Message > -- > From: Arden Weiss <[EMAIL PROTECTED]> >

Re: Val function seems buggy

2004-08-08 Thread S . Isaac Dealey
> > > The value of dtgVar is 21 instead of 021, 021 is correct. > I have workaround to circumvent the problem though. Well given the code above, the value of dtgVar should be 0 since you populated var120 with "a string", not "120"... since it's not numeric, it would return 0... if you populated

Re: Can the following be written in cfscript?

2004-08-08 Thread S . Isaac Dealey
I have to agree with Dave... Beside requiring changes to existing code, many of the tags in CFML are implemented as regular CFML custom tags -- they're in one of the directories in your cfmx installation, although I don't remember which offhand. Which means implementing the tag would require modi

Re: FCKeditor and Mozilla Firefox

2004-08-08 Thread Kay Smoljak
Thanks John On Sun, 8 Aug 2004 12:31:56 +0100, John Beynon <[EMAIL PROTECTED]> wrote: > v2 is the first version to support Firefox, with previous versions of > fckeditor it would just display a text area on Firefox, Have you had v2 working with Firefox? It displays fine for me, but doesn't pa

Re: FCKeditor and Mozilla Firefox

2004-08-08 Thread John Beynon
Kay, v2 is the first version to support Firefox, with previous versions of fckeditor it would just display a text area on Firefox, jb. On Sun, 8 Aug 2004 17:32:03 +0800, Kay Smoljak <[EMAIL PROTECTED]> wrote: > I downloaded the v2 beta of FCKeditor to integrate into my blog. It > works in IE, but

Re: forms and sub-forms best practices feedback desired

2004-08-08 Thread Dwayne Cole
this sounds like a good excuse to build a persistant cfc component.   -- Original Message -- From: Arden Weiss <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date:  Sat, 07 Aug 2004 22:43:43 -0400 >In many cases I have a master form/page with a dozen or so

FCKeditor and Mozilla Firefox

2004-08-08 Thread Kay Smoljak
I downloaded the v2 beta of FCKeditor to integrate into my blog. It works in IE, but in Firefox (0.92) the content of the text field is not passed out in the form scope. That's okay, it's a beta... so I thought I'd download a previous version and use that. Except I go to the sourceforge page and t

Re: Outputting to Excel Question

2004-08-08 Thread Jochem van Dieten
Les Mizzell wrote: > > > > > SELECT * FROM CAT_ORD >    > > You might want to add a reset attribute here. > ---> > > > >    DATE >    NAME >    ...more columns > > > >    #HN_DATE# >    #HN_Name# >    ...more columns > > > > Is working sorta OK. Got a question > > 1. One fi

Re: CFHEADER and IE showing wrong file and FireFox 0 Bytes

2004-08-08 Thread Jochem van Dieten
Carl V wrote: > Ahh ok...if I hard code the file it just plays instead of downloading (IE only)..is there a way around this? or does this come under the same issue (and yes I have tried both "inline" and "attachment") and both don't work... Yes, same issue. Jochem [Todays Threads] [This Messag

Re: Val function seems buggy

2004-08-08 Thread Michael Dinowitz
You are correct as is plainly stated in the tag documentation: Returns A number. If conversion fails, returns zero. A number in ColdFusion is as you state, a number with no leading zeros. No questions of loosly typed language, just a question of what a number is. >I dunno - that seems right to