Kinda thought that's what the DecimalFormat function was all about.
-Chris
Hi,
is there any way to take any integer or float and add thousand
separators without having to specify or change the decimal places
thanks
Kinda thought that's what the DecimalFormat function was all about.
But now I am reminded that the DecimalFormat function always returns the two
decimal places, in addition to the thousands separators. So, I would just run
that result through a REReplace and be done with it:
cfset
Use the optional second argument to QueryNew to explicitly define the data
types for each column.
-Christopher
Hi All-
I am facing a strange error with query of query as follows:
I am first constructing a query using 'QueryNew' as
Cfset newQuery = QueryNew(id, status, label, name)
Not at all, Ray. Fully expected. Also fully expected that Adobe would home page
SOMETHING about it!!! Sheesh.
Even Ray Camden - did you expect me -not- to blog it? ;)
~|
Order the Adobe Coldfusion Anthology now!
Hmmm... would it possible to just use the cfdirectory tag's list action on
the root directory, with recurse=yes, type=file, and filter attribute? If all
of the file names are of a consistent format, you could probably just find the
right file with that one tag, knowing the property number.
OK, sorry about that. I thought you were trying to locate files at the file
system level, and not via HTTP. In that case, go with the mod suggestion.
That'll get you there.
Problem is, I don't have access to the server other than to reference
it. They have a server that hosts the photographs,
In reading through this thread, it appears as though one of your lists (not
clear whether it's the short or long list) is sourced from database, and the
other not. But if you've got one list of key column values in a CF List var,
then you should be able to query the database to pull out
In all my work with CF, I have always housed my CFCs in a dedicated root
directory (typically named CFC), and I just set up the path alias in CF Admin,
so that all I ever have to use in the component attribute of the cfinvoke tag
is the actual name of the component:
cfinvoke
As long as you have some separation..
[code examples snipped]
One of the strengths of ColdFusion (and, indeed, other languages of its ilk) is
that you don't have to separate your input interfaces from your back-end
processing, and even the response display. There are sound reasons for
Absolutely. In 100% agreement there. Though the invocation of the CFC can still
live in the multi-function form template.
allthough most here would aregue that your business logic
should at least be in a separate CFC so that the code is
re-usable.
Steve, to respond to your inquiry specifically, I've always felt it was best to
take complete control over what is in the Form scope, right from the top, by
laying out a series of cfparam tags and their default values, especially if
check boxes or initially-unselected radio button groups are
If your example represents the exact scenario in all cases, I'd probably just
use GetFileFromPath() and GetDirectoryFromPath(), in conjunction with
ListLast():
!--- Where OldDir = Internet/Manuals/tests/doc.html ---
cfset NewDir =
We've been profiling our MS SQL traffic, and we're seeing the occasional spike
in execution times related directly to the operations that CF perform in
relation to the cfqueryparam tag in getting table column details. The problem
crops up only on cfquery tags where cfqueryparam is used for
Actually, the prolonged execution times are for simple tables where the proper
indexing has been in place.
For assessment purposes, we have removed the cfqueryparam tags from that set
of queries in our processes that manipulate the tables on which we are seeing
the degradation in the
Wanted to add to this that we are on CF 9.0.1. I'm flummoxed as to why these
components cannot be found now. Works just fine on our CF8 servers.
~|
Order the Adobe Coldfusion Anthology now!
Hey Cameron!
OK...how do I dump those settings?
Have you dumped the mappings to screen to make sure they are still
pointing to the right path?
~|
Order the Adobe Coldfusion Anthology now!
Well, that was the problem. We hadn't yet migrated this app over to
Application.cfc. It was still stuck on Application.cfm, and didn't have any
application-specific mappings. I now have the app on a CFC with
this.customtagpaths and this.mappings set up, and my package is findable now.
Thanks,
I'm thinking that this is maybe NOT the way things should be. In my opinion,
the Last Run column, as the name suggests (and what one would typically want
to see, don't you think?) should always display the date/time of the most
recent ACTUAL RUN, or execution, of the Scheduled Task, not the
We've had a component package running flawlessly under CF8 for a year or so
now. We use cfinvoke to get at them like this:
cfinvoke component=Grabber.Price method=Grab
returnvariable=WasSuccessful
cfinvokeargument name=Cruise value=#URL.Cruise#
/cfinvoke
The Mappings and Custom Tag Paths
I've got about 20 scheduled tasks set up in a CF9 installation, and I have
every single one of them PAUSED. Yes, the second icon from the left in the
Actions column of the Scheduled Tasks page in CF Admin shows as a green
light document, with the title (tool tip) of Resume Scheduled Task for
Did you ever find a solution for this? I'm getting the same error on our 64
bit box.
Yup, I contacted the developer of the tag, who ultimately did a 64 bit version:
http://www.cftagstore.com/tags/cfxhttp5.cfm
Yes, Andrei did create a 64-bit version of the DLL, but we're still not able to
I am from india looking for a freelance work . can i have ur email id so
that i can send my CV
so far i have worked for couple of person in us on freelance
Yup...that's all the CV I'd need, right there.
~|
Adobe® ColdFusion®
Heh heh. well, if Brian is a son or grandson of the then-Mayor of CO,
Dan Thornton, when the original community was developed in the 50's,
then MAYBE!
On Thu, Mar 13, 2008 at 11:51 AM, Erika L. Walker [EMAIL PROTECTED] wrote:
LOL! Brilliant!
: -Original Message-
: From: Steve
Just to verify: one cannot establish a repeating Scheduled Task with a start
time in front of Midnight (PM), and and end time after Midnight (AM). Correct?
If one wants such a thing, you'd have to create two tasks: one that handled
the PM times, and another to take care of the AM times. Am I
This thread need to die NOW.
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
OK, so what's up with cfflush in CF 8? It ain't doing it. I've got no
problem getting things to flush out to the client in CF MX 6 or 7, but in 8,
nothin' doin'. I've messed with the 'interval' attribute, tried different
content, etc. I see everything up to the flush in 6 or 7, but in 8
Are you still using one of the beta versions?
No, we're fully licensed on the release build.
~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
Ensure you have enough content in your test script.
Ick. Nasty hack. Hope I don't have to do that. Will test it and see if that's
the reason.
~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features
[Moving this to CF-Jobs-Talk. Hope the leap doesn't confuse anyone.]
OK, it looks like it's time for me to clarify my statements. Sigh...
I did say _if_ I were in a position..., which means I am not. I have been.
But am not now.
I, too, have not worked for a single company that did not
San Diego has to be better weather,
but housing must be out of sight!
Yep...highest in the nation, when income is taken into account. On an
individual level, though, it totally depends on when you bought. I purchased a
new home in 1994 in what was to soon become one of the most sought
Just better be prepared for 120 degree plus heat
and hardly any rain!
Not to prolong a slightly OT thread, but...
We're talking 5000+ feet of elevation, and in the Eastern shadow of the
Chiricahuas. Avg. July high is just barely 90, and the monsoons bring close to
4in/mo in July and August
31 matches
Mail list logo