it
on. i'm a creature of habit, and have gotten used to Eclipse/CFE as
is :)
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you
1) not sure
2) add the pane (perspective) to the fast view...this will minimize
it to an icon on the side of the screen (not sure which side by
default, but I end up dragging it to the left side). clicking the
icon will open it. clicking anywhere else (like back in the editor
after you've opened
all var scoped variables must be at the top of a function.
you're var'ing the_type, then you're doin ga conditional...then more var'ing.
that conditional either has to come after the vars...or var everything
to an empty string (or 0) at the top...then set later.
On 2/2/07, daniel kessler [EMAIL
you do know there's a built-in daysInMonth() function, yes? :)
On 2/2/07, daniel kessler [EMAIL PROTECTED] wrote:
I made two cfscript functions. I cfinclude them. They seem to work fine,
but now that I have them where I want them, I'm receiving an error that
didn't previously show:
altho the built in function takes a full date object as an argument
(so as to handle february months...needs the year to be able to
determine leap year or not).
On 2/2/07, Charlie Griefer [EMAIL PROTECTED] wrote:
you do know there's a built-in daysInMonth() function, yes? :)
On 2/2/07, daniel
dateAdd('d', -1, now())
day(dateAdd('d', -1, now()))
On 2/1/07, Orlini, Robert [EMAIL PROTECTED] wrote:
I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it
today it gives me the previous date of 0 as opposed to 31.
How do I get it to generate the previous date as the
On 1/31/07, Rick Root [EMAIL PROTECTED] wrote:
I must be backwards, because I use is for numeric comparisons and eq for
all others.
dude that's just wrong.
:)
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand
alias one (or both of) the column names in the query.
CF knows nothing about the tables (so you can't do
#queryname.tablename.column#).
On 1/30/07, Nathan C. Smith [EMAIL PROTECTED] wrote:
Hi All,
I have two queries that have some overlapping names that I am using in a
cfoutput together (CF
how are you sure it's the same query? are there variables involved in
the CFMX code? are you sure those variables are evaluating to what
you expect?
On 1/30/07, Steve Dworman [EMAIL PROTECTED] wrote:
i have a query that returns results when using sqlplus. however, when i run
the same query
d'oH! :)
On 1/30/07, Steve Dworman [EMAIL PROTECTED] wrote:
problem solved. forgot to commit new database changes.
well...i took a look at the query in the debugging info. then i took
that query, which has the coldfusion variables parsed already, and ran
it on the command line. so
wrap qryHighestNum.highestNumber in a val()
in the event that the argument is an empty string, val() will it as a zero.
so:
cfset nextReqNumber = val(qryHighestNum.HighestNumber) + 1 /
On 1/30/07, Melissa Weber [EMAIL PROTECTED] wrote:
I've very new to ColdFusion and need some help. I've
in the popup (on the form's action page).
[ code to insert stuff into database ]
script type=text/javascript
opener.reload();
self.close();
/script
On 1/30/07, Bruce Sorge [EMAIL PROTECTED] wrote:
Hello all,
I suck at JS and need a little assistance. I have an edit form that checks
ah wait... need to get information from the popup form into the opener...
will reloading the opener show the new info?
On 1/30/07, Charlie Griefer [EMAIL PROTECTED] wrote:
in the popup (on the form's action page).
[ code to insert stuff into database ]
script type=text/javascript
If race conditions shouldn't be a problem, there's no reason to lock.
Pre-MX, yes. Aside from race condition issues there were issues of
memory corruption. Nowadays, you kids have it easy :)
(not sure how about determining if the automatic locking is
enabled...but assuming i'm not totally off
well now we went and gave him conflicting info :)
i'm under the impression that, as of MX+, locking is only necessary in
instances where race conditions could occur. he had originally stated
that race conditions shouldn't be a concern here.
am I understanding incorrectly (don't get me
eat a LOT, and some people only eat a small amount. But you can be
sure that a restaurant manager would cut someone off were they to make
trip
after trip.
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies
they're the same. both are comparison operators and since CF is a
typeless language, at the CF level it doesn't matter which you use.
i do use IS for comparing strings and EQ for anything else, but that's
just a matter of preference and has nothing to do with performance.
On 1/30/07, David
my guess is that the single quote is coming from the first character
(the single quote) within the cftry block.
what's being caught is the variable value in # signs...but the
literal preceding it is not.
try this out:
cftry
cfoutputThis is a #variables.test#!!/cfoutput
be curious to
know myself :)
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning
)).
no need to make CF do any thinking :)
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince
to do the insertion.
-Original Message-
From: Charlie Griefer
To: CF-Talk
Sent: Thu Jan 25 17:50:02 2007
Subject: Re: Insert Current Date/Time into SQL DB (CF101)
On 1/25/07, Tim Claremont [EMAIL PROTECTED] wrote:
I have been doing this wrong for years and getting by with it. What
to make CF do any thinking :)
--
Charlie Griefer
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 MX7 integration create powerful cross-platform RIAs
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http
On 1/25/07, Paul Hastings [EMAIL PROTECTED] wrote:
Charlie Griefer wrote:
I've not done much with i18n, so I'm not really familiar with the
pros/cons of using getUTCDate() vs getDate(). Could you throw out a
few bullet points?
using UTC datetimes isn't really i18n. it's used if you need
i've not made it all the way thru yet, but i think this is a great resource:
http://www.totaltraining.com/prod/adobe/flex2_ria.asp
On 1/25/07, Doug Brown [EMAIL PROTECTED] wrote:
Any suggestions?
Doug B.
~|
Upgrade to
On 1/24/07, Bruce Sorge [EMAIL PROTECTED] wrote:
Anyone use the Google Map API yet? I am getting ready to integrate it into a
site I am working on and was wondering if anyone has used it and what they
though.
check out http://tutorial397.easycfm.com/
--
Charlie Griefer
out his blog:
http://carehart.org/blog/client/index.cfm/fusiondebug
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger
CFX tags go back quite a ways. In the pre-MX days (when CF was
written on C++), they were generally compiled C++ code.
On 1/23/07, Chad Gray [EMAIL PROTECTED] wrote:
It depends on the CFX. You can load CFXs in 4.5 but it does not mean that
all CFXs will run on 4.5.
-Original
cfselect query=qStates display=state_abv value=state_id
selected=#qUserInfo.State_ID#
i'm not a cfform user, so i'm not sure about the pound sign usage there.
On 1/23/07, Bruce Sorge [EMAIL PROTECTED] wrote:
Hello list,
With the HTML SELECT tag, I can populate the option with a query (for
. creating bind variables to increase performance is
another :)
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener
On 1/23/07, Judah McAuley [EMAIL PROTECTED] wrote:
Charlie Griefer wrote:
don't forget that preventing SQL injection attacks is only one benefit
of cfqueryparam. creating bind variables to increase performance is
another :)
Fair enough, although I believe that this is true only
the value coming from the form if the user chooses all states
or does not choose a state?
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must
Eclipse/CFEclipse
(plus JSEclipse + the Aptana plugin Eclipse is nothing if not extensible) :)
On 1/18/07, John Sterrett [EMAIL PROTECTED] wrote:
Does anyone have any recommendations for Coldfusion IDE's on Windows platform
other than Dreamweaver?
Ballot-box stuffing. Andy's disqualified. Please disregard his response.
:)
On 1/18/07, Andy Matthews [EMAIL PROTECTED] wrote:
www.Editplus.com
www.Editplus.com
www.Editplus.com
www.Editplus.com
www.Editplus.com
www.Editplus.com
www.Editplus.com
:)
-Original Message-
From:
they're being posted to cf-talk.
personally, i kinda think that if i wanted the teratech weekly
newsletter, i'd have subscribed to it. but hey...there's enough civil
unrest on cf-talk right now, y'know :)
On 1/18/07, Chris Ditty [EMAIL PROTECTED] wrote:
Is anyone else getting teratech email
well you'd be returning a recordset (albeit with one record)...so you
can't simply output it.
try
cfdump var=#getSubpages(3)# /
On 1/18/07, Chad Gray [EMAIL PROTECTED] wrote:
Hello,
I am new to cfc's, functions etc...
I have a query that will be used many times and would like to keep the
i assume if they select all states then you don't want
AND s.stateid=#form.stateid#
in the query. so that should be surrounded by a conditional.
On 1/18/07, Pete [EMAIL PROTECTED] wrote:
Oh just in case anyone is interested - here is a link to the development
site:
for! Thank you so much!
It just needed to be changed to ...
SELECT DISTINCT MONTH(recw_assign_month) AS month, YEAR(recw_assign_month) AS
year
FROM dbo.tbl_recipe_monthly_winner
WHERE (recw_assign_month '')
--
Charlie Griefer
Not sure about searching the goog, but here's the article in question:
http://coldfused.blogspot.com/2007/01/extend-cf-native-objects-harnessing.html
good stuff. i bookmarked it :)
On 1/15/07, Andy Matthews [EMAIL PROTECTED] wrote:
I read something from the FullasaGoog feed on Friday, but now
give anybody here a lot to go on.
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift
it's the order in which the arguments are passed.
you can also use name/value pairs:
bAuthorized = objSecurity.authorize(user=form.user,groupID=form.groupID);
there's also the argumentscollection struct, which is a handy way to
do it at times.
On 1/11/07, Richard Cooper [EMAIL PROTECTED] wrote:
also, try img.width = 200px;
not sure...just grasping at straws...but i'm fairly certin that Adrian
was right in suggesting the .width and .height properties. now it's
just a matter of finding the proper syntax for the values :)
On 1/11/07, Josh Nathanson [EMAIL PROTECTED] wrote:
Could be
googling also suggests that you can specify the height and width as
arguments in the new Image() call itself.
myFoo = newImage(100,200);
http://docs.sun.com/source/816-6408-10/image.htm
On 1/11/07, Charlie Griefer [EMAIL PROTECTED] wrote:
also, try img.width = 200px;
not sure...just grasping
assuming the CFC returns a URL to the calling page...
on the calling page, after the CFC call...
script type=text/javascript
cfoutput
window.open('#YOUR_CFC_RESULT_HERE#', 'title',
'new_window_attributes_here');
/cfoutput
/script
opening a new window is going to be client side JS
that should have worked from everything i've been reading.
can you copy/paste the resulting JS code from a view source in the browser?
On 1/11/07, Rick Faircloth [EMAIL PROTECTED] wrote:
Nope... that didn't work, either...
-Original Message-
From: Charlie Griefer [mailto:[EMAIL
also...you're using firebug in mozilla for debugging this, right? RIGHT??? :)
On 1/11/07, Charlie Griefer [EMAIL PROTECTED] wrote:
that should have worked from everything i've been reading.
can you copy/paste the resulting JS code from a view source in the browser?
On 1/11/07, Rick
look up HTMLEditFormat() in the docs. Under string functions.
On 1/10/07, Daniel Kessler [EMAIL PROTECTED] wrote:
I have a web page where I describe how to use bits of code. I don't
want the code to enact, but to just display the actual line of code.
I thought that changing the file to .html
but that's exactly what HTMLEditFormat() does. it escapes the brackets.
can you clarify didn't get that to work?
On 1/10/07, daniel kessler [EMAIL PROTECTED] wrote:
well I didn't get that to work, at least not right away. But it got me
thinking and this did work:
lt;cfinclude
that seems...odd.
can you just throw a template up there with a cfdump var=#cgi#
just for shits and giggles?
On 1/9/07, Bruce Sorge [EMAIL PROTECTED] wrote:
If anyone plans on using GoDaddy for CF hosting, be careful There are some
tags that they do not suport, like CFDUMP. I have in my
cfdump var=#arguments#? see if that works and if so, what it displays.
should the variable be spelled exception (as opposed to exeption)?
On 1/9/07, Bruce Sorge [EMAIL PROTECTED] wrote:
So if I comment out the CFDUMP tag, then all works fine. If I put the
#Arguments.Exeption# in a CFOUTPUT, I
few things i can see would be a problem.
you have multiple elements with ids with and without (the radio
buttons and the divs).
the code below should work.
script language=JavaScript
function toggle(divToShow) {
if (document.getElementById) {
if
using a group attribute)?
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning
wow. an image of a rotating baby. cool.
so i take it that #id# is supposed to be evaluated, but you're getting
the literal string #id?
On 1/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
All,
I've got this form ...
FORM action=rotating_baby_image_preview.cfm?id=##id#img=respreview=1
gonna need more to go on, i think.
using CFMX 7, the following code outputs 1945:
cfoutput#createDate(45, 1, 22)#/cfoutput
On 1/4/07, Les Mizzell [EMAIL PROTECTED] wrote:
Form field requesting a birth date.
Person enters 1/22/45
Coldfusion returns 1/22/2045
How can I insure it returns
hi dan...
just posted to your blog.
readers digest version:
seems you need to add the record position in the query where you're
looping over the query to populate the struct.
you had:
cfset testStruct[col] = rs[col] /
which, for some reason, does not create simple values for the struct
Chris:
no, he's passing the arguments properly using the argumentCollection.
it's a special kind of argument (there's probably a better way to
phrase it...) that, when passed in as a struct, is deconstructed into
individual argument variables inside the method.
On 1/4/07, Christopher Jordan
use it to your heart's content (yes, it's available in MX 6) :)
On 1/4/07, Christopher Jordan [EMAIL PROTECTED] wrote:
Well, that's cool! Is it limited to CF7? or can us lowly CF6 folks make
use of it too?
--
Charlie Griefer
...All the world
plugin for CSS, and JSEclipse for
JavaScript).
Takes getting used to, but I think it's well worth the investment.
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you
heh. this exact question was posted on the Adobe forums. apparently,
'password' is a reserved word in Access.
i couldn't find it on the reserved word list, but the original poster
said after enclosing the word Password in square brackets, the query
worked.
INSERT INTO clients (Client_Name,
Wouldn't really be a CF thing (unless you do an AJAX implementation,
in which case it'd just be CF on the server returning the appropriate
options).
Also, it's been done using JS and/or AJAX. If you want to do one as a
learning experiment, that's cool. But if you're just looking to have
one
Hi Varun:
Well, the examples you found may not behave like a true combobox
simply because that exact control doesn't exist in HTML. Especially
if you're going to be loading 650 options :)
I don't know that any of the links I could provide would be any
different than anything you saw. Most were
just curious, have you checked with eflare? i've used their stuff in
the past and found that their support was always second-to-none.
On 1/2/07, Doug Brown [EMAIL PROTECTED] wrote:
I have the following, but cannot seem to get it to work. Images do not
resize. Any help is appreciated.
k. not trying to dodge the question...i've just found that when
people are having problems with 3rd party software, the 3rd party is
usually the best place to get answers since they're the ones that
wrote the code.
so...not getting an error, but the image isn't resized?
On 1/2/07, Doug Brown
Varun:
well, looks like the most options came back with a google search for
DHTML Combobox (as opposed to HTML combobox, AJAX combobox, etc).
this one looks promising:
http://webfx.eae.net/dhtml/combobox/combobox.htm
?
On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote:
Brian,
Apologies for not
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0440.htm
On 12/28/06, Nick G [EMAIL PROTECTED] wrote:
What is the syntax of finding the difference in years between two date fields?
For example I'm selecting a field from a database and trying to find the
difference between that and
select name=Comments#getLineItems.CurrentRow#
onchange=updateText(#getLineItems.currentRow#, 'this.value');
script type=text/javascript
function updateText(n, selOpt) {
if (selOpt == OUT OF STOCK) {
document.formName.elements[QTYShipped + n].value = 0;
}
just noticed something...
change 'this.value' to 'this.options[this.selectedIndex].value' (please) :)
On 12/28/06, Che Vilnonis [EMAIL PROTECTED] wrote:
Geez. That was fast. Thanks... Testing now...
--
Charlie Griefer
...All the world shall
...if you're going to use the document.formName notation,
make sure you use the actual name of the form instead of 'formName' :D
On 12/28/06, Che Vilnonis [EMAIL PROTECTED] wrote:
Hmmm. Not working... Does selOpt need another name, dynamic name?
--
Charlie Griefer
sorry. my bad.
remove the quotes from the 'this.options[this.selectedIndex].value'
i was having you pass that literal string :\
On 12/28/06, Che Vilnonis [EMAIL PROTECTED] wrote:
Hmmm. Not working... Does selOpt need another name, dynamic name?
--
Charlie Griefer
javascript function.
Hope this makes sense? Che
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince
#,
/cfif
cfif #Trim(arguments.price_option)# eq offer OR
#Trim(arguments.price_option)# eq free OR #Trim(arguments.price_option)#
eq no_price
price = NULL,
/cfif
--
Charlie Griefer
...All the world shall be your enemy, Prince
http://openid.net/
On 12/21/06, Christopher Jordan [EMAIL PROTECTED] wrote:
What do you mean by openid?
I've got a cfc method that obtains the next id for a given table and
then either inserts the next record or just returns the id based on a
passed in parameter. Is that the sort of thing
That should work cross-browser, no? it's pretty standard JS syntax.
onfocus=statement1; statement2; statement3...
as long as each is separated by a semi-colon it should be ok?
On 12/21/06, loathe [EMAIL PROTECTED] wrote:
No it won't.
For that you'll need a function and you'll need to write
, but will calling the field that way work
cross browser?
I don't know, I still write it using different techniques.
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 4:09 PM
To: CF-Talk
Subject: Re: Javascript help
That should work
set a counter var and increment it inside the inner cfoutput
cfoutput group=foo
cfset counter = 0 /
cfoutput !--- begin inner cfoutput ---
cfset counter = counter + 1 /
cfif counter MOD 2 EQ 0
do stuff
cfelse
do other stuff
try a trim() as well.
cfif len(trim(arguments.asking1)) GT 0 or len(trim(arguments.asking2)) GT 0
cfif len(trim(arguments.asking1)) GT 0 AND
len(trim(arguments.asking2)) EQ 0
... (etc)
also, just out of curiousity... your first 2 radio buttons aren't
named, so aren't passing
findNoCase() maybe?
On 12/20/06, paul zanini [EMAIL PROTECTED] wrote:
I am trying to find for a city name which is stored in a variable (city)
(looping thru a list) in a document. The difficulty I have is that I like to
add to the variable I am searching for a double quotation that
btw this:
cfset month = #dateformat(now(),mm)#
cfset year = #dateformat(now(),)#
cfset year2 = #dateformat(now(),)#
cfset month2 = #dateformat(now(),mm)#
cfset day = #dateformat(now(),dd)#
cfset day2 = DateFormat(Now(),dd)-1
is easier done as:
cfset month1 = month(now()) /
cfset month2
find(#city#, doc)
(or findNoCase()) :)
On 12/20/06, paul zanini [EMAIL PROTECTED] wrote:
the problem is passing at the same time a string that contains a variable
encapsulated with characters. Sure someones has done that before...
forget. As soon as I get this thing running I will revise
my poor code habits on this and remember it for future reference. I know some
names I'm using would crash SQL.
--
Charlie Griefer
...All the world shall be your enemy, Prince
try it like so:
button name=sub1 type=submit id=sub1 value=1 label=General
Information /
(move the text inside the tag using the label attribute)
On 12/20/06, Les Mizzell [EMAIL PROTECTED] wrote:
I have a row of buttons at the top of a form. Depending on which one
clicked, a different action
Mizzell [EMAIL PROTECTED] wrote:
Charlie Griefer wrote:
try it like so:
button name=sub1 type=submit id=sub1 value=1 label=General
Information /
Not sure that's going to work because of needed HTML formatting of the
text. The text is sized with CSS and centered with CSS as well.
Like label
!!
Looking like it might be better to style a DIV with a link that uses
javascript to submit the form, and passes a URL value at the same time
to cover the various actions.
--
Charlie Griefer
...All the world shall be your enemy, Prince
wouldn't that just be the applicationTimeout value?
On 12/20/06, Bruce Sorge [EMAIL PROTECTED] wrote:
Hey,
Can anyone tell me what the best way is to time out an application? I have
some sites that I want to be able to log the user out after X minutes of
inactivity. I recall seeing at a job I
dammit. i meant sessionTimeout :)
On 12/20/06, Dave Watts [EMAIL PROTECTED] wrote:
Can anyone tell me what the best way is to time out an
application? I have some sites that I want to be able to log
the user out after X minutes of inactivity.
That's how session variables work, by
On 12/20/06, Richard Colman [EMAIL PROTECTED] wrote:
1) if I want to do a replace where the character to be replaced is a
forward or backward angle bracket or then I assume that this
will not work:
cfset name = replace(#string1#, ,, ALL)
why assume? did you try it?
--
Charlie Griefer
:
button value=1 onclick=this.form.mysteryText.value=this.value;
this.form.submit();Foo/button
button value=2 onclick=this.form.mysteryText.value=this.value;
this.form.submit();Bar/button
On 12/20/06, Les Mizzell [EMAIL PROTECTED] wrote:
Charlie Griefer wrote:
sounds like more of a reason to go
On 12/19/06, Bruce Sorge [EMAIL PROTECTED] wrote:
Hello all,
I googled looping through ColdFusion structs but it is
still not making sense.
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0296.htm
--
Charlie Griefer
...All the world
you could keep it in... just set it to 11:59 pm on the oneday variable.
cfset today = createDate(year, month, day) /
cfset oneday = createDateTime(year2, month2, day2, 23, 59, 59) /
(btw, if year, month, and day are your CF variable names...i'd
rename those. those are built in functions in CF
return false in your a href tag.
a href=# onclick=doFunction(args); return false;foo/a
On 12/19/06, Joshua Cyr [EMAIL PROTECTED] wrote:
I am playing with YUI and spry and have a fun task of having content from
other pages load into a tab system in spry. All is working well so far.
Next I
missed any? :o)
CGI
Arguments
Attributes
Cookie
?
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner
On 12/19/06, Charlie Griefer [EMAIL PROTECTED] wrote:
On 12/19/06, Christopher Jordan [EMAIL PROTECTED] wrote:
It's probably worth mentioning then, that *ALL* of the ColdFusion scopes
are structures.
Server,
Application,
Client,
Variables,
This (in CFCs),
Form
why wouldn't you set your variable inside a cfcase?
if the variable setting isn't dependent on one of the cfcase
values...why are you trying to set it inside of the cfswitch anyway?
:)
On 12/19/06, Will Tomlinson [EMAIL PROTECTED] wrote:
I just tried looping inside a cfswitch and setting some
#dirlist# is a query object (it's the name you gave your
cfdirectory. you need to make a specfic reference to the 'size'
column returned by the cfdirectory call. You also need to reference
a particular row.
you can do cfset file.filesize = dirlist.size /, which will always
give you the size of
so, just out of curiousity...why do you need this array?
you also don't need the evaluate(). you can simply do form[i] (which
is -exactly- what you're doing in your conditional where you're
testing len(form[i]).).
On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote:
OK, I figure it out so please
, because it's closer in resemblance to
the byte code that ColdFusion ultimately parses. Phillip just stated
better than I could have.
--
Charlie Griefer
...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you
) AND LEN(form[i]) and it gets all
of the fields with phone just fine, but when I add other fields to it,
nothing happens. So since I know the other two fields are not dynamic, how
can I exclude them from this so I get only the information I need?
Bruce
On 12/18/06, Charlie Griefer [EMAIL
don't believe you need the dateFormat() either. dateDiff doesn't
particularly care what format a date's in.
cfset number = dateDiff('d', createDate(2006, 12, 12), now()) /
On 12/18/06, Jake Churchill [EMAIL PROTECTED] wrote:
1: you don't need # inside cfset unless you're in a string.
2: you
missing something basic?
On 12/18/06, Charlie Griefer [EMAIL PROTECTED] wrote:
cfif ((i IS NOT static_field1) OR (i IS NOT static_field2)) AND
(len(form[i]) GT 0) ?
On 12/18/06, Bruce Sorge [EMAIL PROTECTED] wrote:
Not sure really.
What I have are a total of five dynamically named
create myFunction outside of someFunction, but call it from within.
CFComponent Name=SomeName
CFFunction Name=SomeFunction Output=False ReturnType=String
!--- here's where you call it insted of creating it ---
cfset myVar = myFunction(someArgument) /
/CFFunction
On 12/15/06, Neil Middleton [EMAIL PROTECTED] wrote:
Does anyone have any opinions on the best ways to prepare for the CFMX
certification exams?
forta's cfmx exam guide book
centrasoft's cf exam buster software
only 2 tools you'll need.
--
Charlie Griefer
901 - 1000 of 2074 matches
Mail list logo