Hi Michel,
try the following query,i think this will help you.
select * from myTable order by rand() limit 20;
Thanks
Srinivas
On 3/22/07, Michael E. Carluen [EMAIL PROTECTED] wrote:
Hello All,
I am wondering how to randomly pick any 20 records from a table of 10,000+
records, directly
it is, prior to SQL 2005 which has a function to do this natively, this is
the standard approach.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains
By taking 2 seconds to use Google
http://www.google.co.uk/search?hl=enq=select+random+rows+%2B+SQLbtnG=Googl
e+Searchmeta=
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England,
Hi list,
I wanted to let you know, that this fix:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=238944b1
brought the breakthrough.
The strange .-signs dissappeared.
Thanks for all, who tried to help.
Uwe
Also, when you perform a ColdFusion restart, also perform an iisreset.
This
To all- thanks for all your responses.
Shucks, Neil; but of course, the most obvious answers is always just a
google away.
-Original Message-
From: Robertson-Ravo, Neil (RX) [mailto:Neil.Robertson-
[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 12:13 AM
To: CF-Talk
Subject: Re:
Dear All,
I just tried to install CFX_IMG I must have done something wrong because now
the CF server won't come back up and I'm seeing loads of the following message
in cfserver.log. The problem is I can't now get into the CF server admin to
remove the changes I made. Is there any way to do
Pete,
Check out RoundCube Webmail Project: http://roundcube.net/
Its best webmail interface I've seen and since it's GPL I suppose working
together with them (or forking it if necessary) to make CF version would be
one option.
Tero Pikala
-Original Message-
From: Pete Ruckelshaus
I'm just about to get started with working out how to moving divs up and
down a page so the divs below...
div id=div1First/div
div id=div2Second/div
div id=div3Third/div
appear like so...
div id=div2Second/div!-- I was second, I'm now first --
div id=div1First/div
div id=div3Third/div
On Wednesday 21 Mar 2007, CF Newbie wrote:
[EMAIL PROTECTED]
That's what I get when I do a dump of cfdump
var=#PropertyDesc.toString()#
Any ideas going forward?
You can look in the WSDL for a description of (ArrayOf)ClsProperty, or try
cfdump var=#PropertyDesc[0].toString()#
--
Tom
Thanks so much for the suggestions guys, but I'm an almost complete newb
when it comes to server things. What do you mean with rewrite rule? To cover
our collective rear ends for now I set up individual redirects for each of
the obvious jsp pages in the old site, but I'd rather have a general
On Wednesday 21 Mar 2007, Peter Tilbrook wrote:
Have had an issue for an unyet finished project (despite working my arse
off on it) where the client wants full ownership of the resultant code.
This could be for 'worst case' planning - their business falls over because of
a code fault, and they
Hi list,
I wanted to let you know, that this fix:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=238944b1
brought the breakthrough.
The strange .-signs dissappeared.
Thanks for all, who tried to help.
Uwe
So like I said originally, your server wasn't fully patched ;)
Paul
I just tried to install CFX_IMG I must have done something
wrong because now the CF server won't come back up and I'm
seeing loads of the following message in cfserver.log. The
problem is I can't now get into the CF server admin to remove
the changes I made. Is there any way to do this
Thanks Dave, I should have waited for your email. I couldn't get it working so
I tried uninstalling and reinstalling the ColdFusion server, now I can't get
the apache connectors working :-( What a nightmare day, and I'm supposed to be
going on holiday tomorrow. I have a CF server that is taking
Thanks Dave, I should have waited for your email. I couldn't get it working so
I tried uninstalling and reinstalling the ColdFusion server, now I can't get
the apache connectors working :-( What a nightmare day, and I'm supposed to be
going on holiday tomorrow. I have a CF server that is taking
I can use cfcontent reset=yes / to reset the datastream to the
webserver. Does anyone know how I can capture all that content into a
variable first, for later use?
This email message may contain privileged and/or confidential information. If
you are not the intended recipient(s), you are
We've been swamped for over the past year, so we haven't been able to schedule
one of these classes until now. We've scheduled only one class, and we have
only one seat left (the first two were taken right after we announced it last
week), so if you're interested in adding C# and ASP.NET 2.0
Thanks Dave, I should have waited for your email. I couldn't
get it working so I tried uninstalling and reinstalling the
ColdFusion server, now I can't get the apache connectors
working :-( What a nightmare day, and I'm supposed to be
going on holiday tomorrow. I have a CF server that is
Our team recently deployed a new version of application.cfm to our clustered
production environment (with sticky sessions). The changes were load tested
on our staging server (not clustered) and found to be error free. When we
deployed to Production, the website completely stopped responding
cfsavecontent variable=hoohah
blah blah blah
/cfsavecontent
cfcontent reset=yes /
cfoutput#hoohah#/cfoutput
Make sure the cfcontent reset is OUTSIDE and AFTER the cfsavecontent tag
Mik
At 09:32 AM 3/22/2007, you wrote:
I can use cfcontent
Peter,
Unless you have a contract or agreement with them specifically stating that
they receive full ownership of the code, for example on completion or on
payment in full, you retain all ownership of your original code. Take it easy.
Book a meeting with a lawyer, pay them 1-2 hours to give
Adrian Lynch wrote:
Anyone have any pointers or examples of DHTML ordering? Will it be a case of
deleting and reinserting elements where needed?
i'd have a look at walter zorn's js libs:
http://www.walterzorn.com/index.htm
Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that
Scorpio will include Ajax Wigits!!! He showed Text Field suggestion boxes, a
calendar wigit and the mind blower was the Ajax Rich Text Editor!!! What a
show! And we saw it first at Spring lt;br /gt; Conference 2007. Tim
In your example, the reset isn't actually clearing anything as nothing
was ever written to the output stream.
Actually, I assume the answer will be found in something like cfdump
var=#getPageContext().getResponse()# /.
-Original Message-
From: Mik Muller [mailto:[EMAIL PROTECTED]
Sent:
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 7:20 AM
To: CF-Talk
Subject: OT JS - Moving elements in page
I'm just about to get started with working out how to moving divs up
and
down a page so the divs below...
div
On 3/22/07, Dave Watts [EMAIL PROTECTED] wrote:
going on holiday tomorrow. I have a CF server that is taking
over 500 seconds to restart and the apache connectors fail
miserably, even though I've had it all working before. Do you
know why it might take so long to restart?
A three-minute
500/60 = 8 minutes, 20 seconds.
D'oh!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
I have a client aiming to deploy a site that aggregates news from various RSS
or XML feeds. Simple enough if they planned to use the entire feed but this
client wants to cherry pick from various feeds. They asked me to build an
admin tool for this. My thoughts were to find a RSS Reader or
Hello all,
It appears that based on Oblio's previous suggestion, binaryEncode(data,
Hex) might be what I'm looking for. However, binaryEncode() appears
to be new to CF 7. My client is still on 6.1 and doesn't have the funds
(or will) to move to 7 yet (argh).
Is there something like a
Cheers for the advice all.
This is what I've come up with so far:
http://adrianlynch.co.uk/temp/reorder/reorder.html
Only tested on IE 6.0 at this stage.
If you look into the code you might come up with a better way of working out
what elements can be moved with in a given parent. I'm not
There are a lot of ajax libs out there which do parts of this...
YUI's drag/drop sortable lists is one I'd recommend taking a look at
http://developer.yahoo.com/yui/examples/dragdrop/list.html?mode=dist
-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday,
You could ingest all the feeds directly into a db on a regular basis,
then you can query and cherry pick the db when you feed it back out.
It allows you to query the db instead of the feed stream and then you
could just create your feeds directly based on the queries you create.
Just make
Sounds a little like what Yahoo! Pipes is already doing. Selectively
grabbing items from a feed may be troublesome just because of the
mutable nature of feeds.
On 3/22/07, Dwayne Cole [EMAIL PROTECTED] wrote:
I have a client aiming to deploy a site that aggregates news from various RSS
or XML
While I'm really excited about this stuff, you realize this means you're
going to have to use CFFORM to gain access to these new features. Does Adobe
have any plans to allow these features to be used with plain HTML elements?
Obviously you could simply view source and copy and paste, but it would
As well as the Interface Plugin for the JQuery library
http://interface.eyecon.ro/
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com
Katz, Dov B (IT) wrote:
There are a lot of ajax libs
The same happens to me CF version:7.0Windows Professional SP2. Any help
would be appreciated. Thanks.
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving features, more productivity.
That did it. Thanks Peter.
On 3/21/07, Peter Boughton [EMAIL PROTECTED] wrote:
Try setting type to currency.
~|
Macromedia ColdFusion MX7
Upgrade to MX7 experience time-saving features, more productivity.
Yep, you are going to need cfform for this, and any related from controls.
And I know that many loathe cfform because of the JavaScript it created
way back when, but if you've not looked at it in a while, do so. It's not
the same animal, and is far more usable and configurable than is used to be.
Awesome ben!! Thanks for the input. I can't WAIT to try out the beta. I have
no problem whatsoever with cfform as long as it works well and doesn't
produce bloated js.
andy
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 10:30 AM
To:
Are there any plans to smooth-out cfdump?
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 11:30 AM
To: CF-Talk
Subject: RE: New Features In Scorpio
Yep, you are going to need cfform for this, and any related from
controls.
And I know that many
Leitch, Oblio said:
Are there any plans to smooth-out cfdump?
Have you filed any bugs against cfdump?
Jochem
~|
Create robust enterprise, web RIAs.
Upgrade integrate Adobe Coldfusion MX7 with Flex 2
How do you mean? Cfdump seems pretty complete to me.
-Original Message-
From: Leitch, Oblio [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 10:44 AM
To: CF-Talk
Subject: RE: New Features In Scorpio
Are there any plans to smooth-out cfdump?
-Original Message-
From: Ben
Isn't the mind blowing rich text editor just the FCK(?) free editor that
could be integrated into any online form regardless of CF being there or
not?
On 3/22/07, David Hannum [EMAIL PROTECTED] wrote:
Ben Forta just showed a demo at Spring lt;br /gt; Conference 2007 that
Scorpio will include
No - I haven't found any. But I think there are ways to improve it.
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 11:49 AM
To: CF-Talk
Subject: RE: New Features In Scorpio
Leitch, Oblio said:
Are there any plans to smooth-out
No - I haven't found any. But I think there are ways to improve it.
Unless Adobe has perfected the use of telepathy, your best bet is to submit
feature requests to them:
http://www.adobe.com/go/wish
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the
Ok here's a weird on for you. I'm debugging a 3rd partied custom tag and
they are doing on an expand path on a file which may or may not exist.
The issue is that when it doesn't exist it returns a struct which is
empty. Shouldn't expandpath throw an error if it can't find the file?
How I can I
fileExists(expandPath(relative/path))
expandPath just does an expansion of the relative path. If it did a
filesystem check and raised an exception, it'd be impossible to use it
in CFFILE to create new files (among various other things).
cheers,
barneyb
On 3/22/07, Jones Eric R Ctr 8 AF Det
Never mind the original creator of the custom tag used a reserved word
and that was causing the issue.
---_
Eric R. Jones
Senior Web Application Developer, AFNOC/NCD
Barksdale AFB, LA
DSN 781-7784
Comm (318) 456-7784
NIPRNET: [EMAIL
Eric,
ExpandPath doesn't actually do anything with the file. It simply
returns a string based on the relative path of the file that is
callling the ExpandPath function. You will need to the test for the
file using FileExists() and pop in the string that is created by the
ExpandPath Function.
I'd personally like to see two additional switches. One that allows you
to tell cfdump whether you want to include the JavaScript functionality,
and another that allows the user to tell cfdump to show results in a
separate window.
Chris
Leitch, Oblio wrote:
No - I haven't found any. But I
Unless Adobe has perfected the use of telepathy, your best bet is to
submit
feature requests to them:
http://www.adobe.com/go/wish
Cool. I just requested that all Adobe products include Adobe Patented
Telepathy Technology. It's like Ajax, but it works.
Right - that was sort of what I was thinking. More-over, what I meant
by smooth-out was things like including the js once, and point to it
rather than including it. This is already the case with cfform.
-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED]
Sent:
How do you mean? Cfdump seems pretty complete to me.
Well, there's one major issue with it, it doesn't product XHTML compliant code.
For instance, I use cfdump commonly to create error dumps. If the page has an
XHTML doctype, none of the styles show up. They really should fix that.
--- Mary
On Thursday 22 Mar 2007, Aaron Rouse wrote:
Isn't the mind blowing rich text editor just the FCK(?) free editor that
could be integrated into any online form regardless of CF being there or
not?
Yup.
But not having to write any javascript, having it Be Supported and Just Work
are great
One that allows you
to tell cfdump whether you want to include the JavaScript functionality,
Plus one here. It would be nice to see something like this added into an
all inclusive cfdump
http://www.netgrow.com.au/files/javascript_dump.cfm
-Original Message-
From: Christopher
I was going to register the cfreadmind tag... but it seems you beat me
to it. :o(
Chris
Jeff Small wrote:
Unless Adobe has perfected the use of telepathy, your best bet is to
submit
feature requests to them:
http://www.adobe.com/go/wish
Cool. I just requested that all Adobe products
I'd be curious how supported it really ends up being. Seems like a lot of
CF support is just in the community anyway. I know the few times we have
tried using official support that was paid for by our company we usually
still got no solution or discovered the community could provide quicker or
I've had similar experiences. It's also been my experience that when the
problem is related to the CF services crashing, that it's hard to get
someone who really (and I mean *really*) knows what the hell they're
talking about. I spent two years on an intermittent problem like that,
and it was
So, with talk of help/support What are peoples recommendations on
ColdFusion consultancy for things like performance monitoring/tweaking etc.
Especially UK based but not essential.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United
We are having the exact same problem. Did you ever find a resolution? Any
help would be greatly appreciated!
Kristin Coyne
On our main production server, we can no longer get to the
administrator. Going to the admin gives the following runtime error:
500
http://www.carehart.org/askcharlie/
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 1:48 PM
To: CF-Talk
Subject: Consultancy
So, with talk of help/support What are peoples recommendations on
ColdFusion consultancy for
Anyone have any pointers or examples of DHTML ordering? Will it be a case of
deleting and reinserting elements where needed?
I messed around with doing something similar a lot lately, and I came up with
two different approaches:
If the elements you want to move only contain one or two simple
Anyone have any pointers or examples of DHTML ordering? Will it be a case of
deleting and reinserting elements where needed?
I messed around with doing something similar a lot lately, and I came up with
two different approaches:
If the elements you want to move only contain one or two simple
Just watched an Adobe online seminar and they said if you have CFMX v7.02, the
CF plugin
for Flex will be installed. I've got the following in my developer's edition
of CFMX but I still can't
find the plugin and rds panels in Flex. Where can I find the CF plugin panels?
System Information
What about using Prototype / Script.Aculo.Us?
(or on all the other JS/DHTML libs)
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information
I agree, this effect is done in all of these JS libs.
I've been using mooTools lately, but that's just my preference. IMO,
Script.aculo.us seems to cater solely to RoR(at least they did, haven't looked
lately)
-Original Message-
From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL
The plugin, in and of itself, is totally unrelated to the CF 7.0.2
updater, other than requiring it on the server side to properly
function. It is included, separately, in the Flex Builder install, as a
..zip file you install in Eclipse.
Help - Software Updates - Find and Install... - Search
Nah, Script.aclu.us can be used with anything. It is just included with RoR.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
I just looked again, it was just that their AJAX demos are done in RoR, not
sure why that was enough to send me away to mooTools though. Especially that
the mooTools site has very basic documentation with no demos.
Well, I also read that mooTools was much smaller, but I don't have any more
Again though, any of those demos is technology agnostic. Could be done with
anything using it.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains
Hi folks,
I'm trying to configure two brand new servers to be the same as my
existing production server.
A buddy of mine said that I could just copy the registry keys for the
configuration over to the registries on the new boxes and that'd be
that. It turns out that he's only done this on
And I know that many loathe cfform because of the JavaScript it created
way back when, but if you've not looked at it in a while, do so. It's not
the same animal, and is far more usable and configurable than is used to be.
+1 for cfform. I don't use it for everything, but it sure comes in
Dear the CF Product team,
Please make sure the cfcach'ed pages do not have an HTML comment as the
first line in the cfcach'ed page. That' breaks CSS.
Thank you,
Jon
~|
Deploy Web Applications Quickly across the enterprise with
What's the best approach to integrating movie listings into your web
application. Are there any good web services or feeds you can tap into?
Thanks,
Jon
~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10
Just use the Settings Summary and copy/paste add them. There is not exactly
a load of them to do.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains
Maybe ask on a BD list as well.
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is
Why do so many articles get published in the CFMX world about OOP.
I've read though several, not going to mention names here... but you
read it and it makes you think.. wow .. i thought I understood OOP but maybe
I don't.
Factories... abstraction... models... patterns... that's too much crap
What's the best approach to integrating movie listings
into your web application. Are there any good web
services or feeds you can tap into?
I had to do this several years ago and there wasn't anything publicly
available at that time aside from scraping from someone else's web site.
We ended
Dear the CF Product team,
Please make sure the cfcach'ed pages do not have an HTML
comment as the first line in the cfcach'ed page. That' breaks CSS.
If you want to report features or bugs, you're more likely to get the result
you want if you use the channel they provide.
I'm trying to configure two brand new servers to be the same
as my existing production server.
A buddy of mine said that I could just copy the registry keys
for the configuration over to the registries on the new boxes
and that'd be that. It turns out that he's only done this on
CF5.0,
I think I may have just found the answer to my own question. There are a
bunch of .xml files. For instance CFusionMX/lib/neo-cron.xml appears to
hold all of the scheduled tasks.
I'm still groping a bit in the darkness, so if anyone has any tried and
true experience with configuring a new
I talked to the IT people at Kerasotes and they are sending me a CSV
file every day.
I just started by contacting a cinema's regular support email and was
passed around until I found the right person.
I haven't seen any other feeds.
There is another cinema company in our town, but they were
Why do so many articles get published in the CFMX world about
OOP.
Because, for many CF programmers who don't know other languages, it's a new
(and potentially powerful) thing.
I've read though several, not going to mention names
here... but you read it and it makes you think.. wow ..
On 3/22/07, Jonathan Block [EMAIL PROTECTED] wrote:
Why do so many articles get published in the CFMX world about OOP.
I've read though several, not going to mention names here... but you
read it and it makes you think.. wow .. i thought I understood OOP but maybe
I don't.
Factories...
It's funny that you mention that, we've started a discussion about just
that on the Model-Glue list. Want to put together a good (and
usable/useful) sample application built upon some 'best practices'
concepts that is a) easy to understand, b) well documented, and c) can
be extended and
Greetings to all,
Have gone to another planet for the past two years plus. Seriously, have not
used CF for a little over two years, miss it and am seriously considering
getting back to it. Started from late yesterday, I've downloaded the CFMX7
documentation (1108 pages), browsed through it,
Why do so many articles get published in the CFMX world about OOP.
Because OOP rocks. I would dispute your statement though; OOP is less
prevalent in CF than in other languages (from what I hear anyway).
I feel like anybody who's trying to learn CFMX need not worry about
whether
or not
I've always felt that learning OO for a specific language isn't the best
way.
To learn the theories and concepts behind it and than find guidance how to
implement it properly in whatever language you're using makes for a more
solid grasp of the basics.
@@ two cents
!k
-Original
Heh... not to be the cynic, but it only took 2 full versions to listen to me.
Who would've thought video would be such a big deal in Flash? =]
!k
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 2:27 PM
To: CF-Talk
Subject: RE: i hope they
If you're trying to learn CFML, and don't know OOP, and haven't learned any
other languages, that can be tough. But these aren't just crazy buzzwords,
they're useful descriptions for how to solve problems.
I agree with most of your post, Dave. But one thing that bothers me
about the 100 CF
Great thanks! I've never installed an Eclipse extension before.
Where do i find/download the Flex/CF Plugin zip file?
The plugin, in and of itself, is totally unrelated to the CF 7.0.2
updater, other than requiring it on the server side to properly
function. It is included, separately, in the
I'm on Standard not Enterprise... maybe next year! :o)
I ended up copying all the .xml files in the lib directory. When I
didn't find anything in the registry I knew it had to be something like
this... too bad it's not one file though. I dunno, maybe it's more
efficient as separate files.
I have never really used iif before, I was aware it existed but didn't
really see a good place for it. Until today. =)
Check this out:
dollarformat(iif(Cost, cost, 0))
That says, evaluate cost as a Boolean, if its true (anything but 0 or
null) then return cost, otherwise return 0 (so the
Uh oh. You're probably about to get hammered with responses related to the
performance cost...
On 3/22/07, Peterson, Chris [EMAIL PROTECTED] wrote:
I have never really used iif before, I was aware it existed but didn't
really see a good place for it. Until today. =)
Check this out:
Here come the Iif police.
-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 3:10 PM
To: CF-Talk
Subject: Just a tidbit for those who might not have use iif before
I have never really used iif before, I was aware it existed but didn't
and about whether Cost is truly a Boolean...
-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 3:15 PM
To: CF-Talk
Subject: Re: Just a tidbit for those who might not have use iif before
Uh oh. You're probably about to get hammered with
Quick, someone find a way to make that need an evaluate().
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 22, 2007 4:17 PM
To: CF-Talk
Subject: RE: Just a tidbit for those who might not have use iif before
Here come the Iif police.
-Original
don't forget if you copy the xml files you need to restart the CF
services. Editing via the administrator you don't have to, but copying
them in needs a service/instance restart.
i copy these around for backup purposes.
john.
On 3/22/07, Christopher Jordan [EMAIL PROTECTED] wrote:
I'm on
If you're trying to learn CFML, and don't know OOP, and haven't
learned any other languages, that can be tough. But these
aren't just crazy buzzwords, they're useful descriptions
for how to solve problems.
I agree with most of your post, Dave. But one thing that
bothers me about
dollarformat(iif(Cost, cost, 0))
You could also use the val() function around the cost variable to do the
same thing more efficiently. It will also correct for unexpected
non-integer characters in the variable as well. I've found that in
almost any situation where iif() looks like it's needed,
1 - 100 of 145 matches
Mail list logo