d of
>using a varchar type you used a fixed column width and this is causing the
>problem. Trim() the data before you insert it into the struct.
>
>-Original Message-
>From: James Holmes
>Sent: Tuesday, 12 October 2004 11:23
>To: CF-Talk
>Subject: RE: Outputting
Ah right whoops sorry. How about trying ?
_
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 12 October 2004 4:23 p.m.
To: CF-Talk
Subject: RE: Outputting Structure Key Problem
Score is a struct created with Structnew(), not a query.
I'd check for whitespace in the da
truct.
-Original Message-
From: James Holmes
Sent: Tuesday, 12 October 2004 11:23
To: CF-Talk
Subject: RE: Outputting Structure Key Problem
Score is a struct created with Structnew(), not a query.
I'd check for whitespace in the data in the DB - perhaps there is an
unintentional space after the w
hmm.. just dump out score..
to see whats in there..
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
> >#Score["Sleep"]#
>
> Tried that and got the following errror:
>
> Element Sleep is undefined in a CFML structure referenced as part of an
> _expression_
>
> Interestingly if I hard code the str
Was your message cut off? Seems like you were in the middle of
explaining this further?
-Josh
--
Exciteworks, Inc
Expert Hosting for less!
*Ask for a free 30 day trial!*
http://exciteworks.com
Plans starting at -$12.95- including MS SQL Server!
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
> >
2004 10:29
To: CF-Talk
Subject: RE: Outputting Structure Key Problem
You've created a query record set, not a structure. You could use query of
queries to retrieve the matching record from your record set or you could
use a UDF like this: http://cflib.org/udf.cfm?ID=586
[Todays Thre
2004 2:00 p.m.
To: CF-Talk
Subject: Outputting Structure Key Problem
The following code below can be seen at
http://www.tcmtests.com/files/codetest.cfm
When I try append the following code to it I get an error that the
variable Sleep is not defined
#Score.Sleep#
How can I output the structur
>#Score["Sleep"]#
Tried that and got the following errror:
Element Sleep is undefined in a CFML structure referenced as part of an _expression_
Interestingly if I hard code the structure with
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donation
#Score["Sleep"]#
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
The following code below can be seen at
http://www.tcmtests.com/files/codetest.cfm
When I try append the following code to it I get an error that the
variable Sleep is not defined
#Score.Sleep#
How can I output the structure key value that I want?
---
select AVG(QuizPercent) as
The following code below can be seen at
http://www.tcmtests.com/files/codetest.cfm
When I try append the following code to it I get an error that the variable Sleep is not defined
#Score.Sleep#
How can I output the structure key value that I want?
---
select AVG(QuizPercent) as A
11 matches
Mail list logo