Welp, I'm about ready to hang up the keyboard with this thing. I've
built a small shopping cart app. It's working perfectly on my
development machine. Woohoo.
So I move it to production to get it started. First problem -- can't
lock scopes. I don't know what version they're using of CF (I thought
Is it possible to sort a collection, particularly the form collection??
All my form fields are created dynamically and are named such as
Q1
Q2
Q3
Q4
..
..
Q10
Q11
Etc.
When I loop the collection they are returned in the good old alphabetical
order
i.e.
Q10
Q11
Q12
Q13
Q9
errr, try #form.fld#
heh
Pooh Bear
Web App Developer
Picture Below (chicks dig my head!)
http://www.geocities.com/kickerazn_2000/sniffles_138x92.jpg";>
>From: "Timothy Lynn" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAI
PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 2:39 PM
Subject: Re: looping form collection
> errr, try #form.fld#
>
> heh
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the
I don't think that form fields were always stored in a structure, were they?
I think you need to find out what version of cfserver they're running. I
want to say that they weren't stored in a structure until 4.5, the same time
"scope" became a valid attribute for locks.
-d
Deanna Schneider
Int
ot; - Yoda
> -Original Message-
> From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 16, 2001 3:29 PM
> To: CF-Talk
> Subject: Re: looping form collection
>
>
> I don't think that form fields were always stored in a structure,
> were they?
&
rrr...
Regards,
Joel Parramore
> -Original Message-
> From: Deanna Schneider [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 16, 2001 3:29 PM
> To: CF-Talk
> Subject: Re: looping form collection
>
>
> I don't think that form fields were always stored in a s
ot;CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 3:28 PM
Subject: Re: looping form collection
> I don't think that form fields were always stored in a structure, were
they?
> I think you need to find out what version of cfserver they're running.
I
>
Subject: Re: looping form collection
Wouldn't it be nice if it were that easy? It's saying that it can't
resolve the parameter FORM. It should be able to accept a form as a
collection for a loop. That's where the hiccup is happening.
- Original Message -
From: "Fuon
]>
Sent: Thursday, August 16, 2001 4:05 PM
Subject: RE: looping form collection
> Hmmm... the form scope was not always a structure. I think the change
> occurred with the 4.5 release. You can check the value of
> #server.ColdFusion.ProductVersion# to see what version is running on
y
gt;
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 3:55 PM
Subject: Re: looping form collection
> What a time to find *that* out, huh? Sheesh..
>
> You're right. I switched the loop to reference the form as a list and
> that works, although it'
form collection?
Is it possible to sort a collection, particularly the form collection??
All my form fields are created dynamically and are named such as
Q1
Q2
Q3
Q4
..
..
Q10
Q11
Etc.
When I loop the collection they are returned in the good old alphabetical
order
i.e.
Q10
Ewok,
>
> Also, I didn't want to put 0's in front of single digit numbers since they
> are unique ID's of rows in my database table.
>
Use number format when you append your numbers to the form field names
eg. name="Q#NumberFormat(i,"00")#
This will make sure that your numbers are zero filled.
ather stay away
from too many list functions
thanks for the response !
- Original Message -
From: "Stephen Moretti" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 8:42 AM
Subject: Re: Sorting a form collection?
> Ewok,
Ewok,
>
> I guess i would just need to reformat it when comparing it to the database
> with something like
>
No need... You can give SQL the number 1 and it will still find 1
in the database.
It would only have problems differenciating between the two if you are
storing the number in a te
What is Ewok?
-Original Message-
From: Stephen Moretti [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 9:28 AM
To: CF-Talk
Subject: Re: Sorting a form collection?
Ewok,
>
> I guess i would just need to reformat it when comparing it to the database
> with something
it's a small furry Teddy Bear type animal indigenous to the forest moon of
Endor.
d'uh
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: 07 March 2003 14:26
To: CF-Talk
Subject: RE: Sorting a form collection?
What is Ewok?
-Original Message
Depending on how you look at it, it's either a short wookiee or a very large
gerbil.
- Jim
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 8:26 AM
To: CF-Talk
Subject: RE: Sorting a form collection?
What is Ewok?
-Original Me
Of course, of course...
But I thought it was referring to an acronym, and I was asking for a
definition there grumpy
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 9:25 AM
To: CF-Talk
Subject: RE: Sorting a form collection
inatley good news!
I should be set now thanks alot for your help!
- Original Message -
From: "John Stanley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 9:26 AM
Subject: RE: Sorting a form collection?
> What is Ewok
:-) its a posters handle.
-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: 07 March 2003 14:37
To: CF-Talk
Subject: RE: Sorting a form collection?
Of course, of course...
But I thought it was referring to an acronym, and I was asking for a
definition there
D]>
Sent: Friday, March 07, 2003 9:26 AM
Subject: RE: Sorting a form collection?
> What is Ewok?
>
> -Original Message-
> From: Stephen Moretti [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 07, 2003 9:28 AM
> To: CF-Talk
> Subject: Re: Sorting a form collection?
&
Sorry, all. I didnt know there was a user named Ewok.
-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 9:40 AM
To: CF-Talk
Subject: Re: Sorting a form collection?
> Hmmm Guessing here
>
> I'm assuming that your doing something
HAHA!! gj
- Original Message -
From: "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 9:25 AM
Subject: RE: Sorting a form collection?
> it's a small furry Teddy Bear type animal
"Lucas lawsuit" :-)
-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: 07 March 2003 14:44
To: CF-Talk
Subject: Re: Sorting a form collection?
> What is Ewok?
Whats a John? ;)
you mean besides character's from the greatest movie of all time o
There were no Ewok's in Army of Darkness
-Original Message-
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 9:44 AM
To: CF-Talk
Subject: Re: Sorting a form collection?
> What is Ewok?
Whats a John? ;)
you mean besides character's from the greatest
You mean the third movie was the best? Or was it the 7th?
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 8:45 AM
To: CF-Talk
Subject: RE: Sorting a form collection?
"Lucas lawsuit" :-)
-Original Message-
MAIL PROTECTED]>
Sent: Friday, March 07, 2003 9:44 AM
Subject: RE: Sorting a form collection?
> Sorry, all. I didnt know there was a user named Ewok.
>
> -Original Message-
> From: Ewok [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 07, 2003 9:40 AM
> To: CF-Talk
>
eAt 09:50 AM 03/07/03 -0500, John Stanley wrote:
>There were no Ewok's in Army of Darkness
But it would have been cool if there had been. I'd have loved to see them
meet the boomstick. :)
T
~|
Archives: http://www.houseof
No, but that was only the second best trilogy ever!!
- Original Message -
From: "John Stanley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 9:50 AM
Subject: RE: Sorting a form collection?
> There
003 10:03 AM
To: CF-Talk
Subject: RE: Sorting a form collection?
eAt 09:50 AM 03/07/03 -0500, John Stanley wrote:
>There were no Ewok's in Army of Darkness
But it would have been cool if there had been.
nt: Friday, March 07, 2003 10:28 AM
Subject: RE: Sorting a form collection?
> Ash: "All right you furry little bastards, listen up. This is my
BOOMstick."
> Ewok 1: "Grk meep bimp lopo"
> Ash: "All right she-bitch"
>
> Ash: "Let's go&quo
they all lived happily ever after...except the girl everyone was
laughing at : )
The End
- Original Message -
From: "John Stanley" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 10:28 AM
Subject: RE: Sorting a form coll
t; <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 10:03 AM
Subject: RE: Sorting a form collection?
> You mean the third movie was the best? Or was it the 7th?
>
> -Original Message-
> From: Robertson-Ravo, Neil (RX)
>
~lmao~ tears streaming down my face here
> ok now we are dragging it off of the off-topic topic that was never on
topic
> : )
>
> you think Michael would change the title to Ewok-Talk?
> should probably kill this soon : )
>
> p.s there weren't 7, aren't 7, never will be 7
>
There's 9 episode
35 matches
Mail list logo