Re: CFWDDX problem

2001-09-20 Thread Craig Fisher
to an integer. HTH Craig Fisher Macromedia Certified Instructor Alta Interactive, Inc - Original Message - From: "Mike Kear" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 8:51 AM Subject: RE: CFWDDX probl

RE: CFWDDX problem

2001-09-20 Thread Raymond Camden
> > Yes yes yes. The [ ] notation doesn't work. Creates an > error. The error message says Um, you forgot to remove the . > input="#application.um.[UmID]_Data#"> Should be or, a bit easier to read: > What's the problem with using evaluate? Is it slower than > using the [] not

RE: CFWDDX problem

2001-09-20 Thread Rich Wild
> Errr, yes. I was simply testing you guys. > > Yea, that's it. > :) > -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: 20 September 2001 16:10 > To: CF-Talk > Subject: RE: CFWDDX problem > > > > "T

Re: CFWDDX problem

2001-09-20 Thread stas
But his structure is application.um.#UmID#_Data NOT application.um.#UmID#._Data The difference being that _Data isn't a member of UmID but a part of the name for the KEY itself - Original Message - From: "Jason Malfatto" <[EMAIL PROTECTED]> As one of those three, I agree. I respond

RE: CFWDDX problem

2001-09-20 Thread Mike Kear
P WebWorks -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 11:19 PM To: CF-Talk Subject: RE: CFWDDX problem No, no no. Please do not use evaluate. Please use [] notation. Again, this is not meant to put you down, Mike, in any way, but as

RE: CFWDDX problem

2001-09-20 Thread Raymond Camden
> "The struct is called: application.um.#UmID#_Data" > > How would you reference that as [] ? > > As you posted #Application.Um[UmID].Data# wouldn't that fail > as it would be Application.Um[#UmID#_Data] > > Or am I miles off ? Errr, yes. I was simply testing you guys. Yea, that's it.

RE: CFWDDX problem

2001-09-20 Thread Mike Townend
t down... Im not the most advanced CF'er ;) -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 14:19 To: CF-Talk Subject: RE: CFWDDX problem No, no no. Please do not use evaluate. Please use [] notation. Again, this is not meant

RE: CFWDDX problem

2001-09-20 Thread Jason Malfatto
;[EMAIL PROTECTED]> >Subject: RE: CFWDDX problem >Date: Thu, 20 Sep 2001 09:19:06 -0400 > >No, no no. Please do not use evaluate. Please use [] notation. > >Again, this is not meant to put you down, Mike, in any way, but as I >said, I see _way_ too many people doing this. In fa

RE: CFWDDX problem

2001-09-20 Thread Raymond Camden
No, no no. Please do not use evaluate. Please use [] notation. Again, this is not meant to put you down, Mike, in any way, but as I said, I see _way_ too many people doing this. In fact, 3 people replied to cf-talk suggesting evaluate. Never use evaluate when you don't need to. =

RE: CFWDDX problem

2001-09-20 Thread Mike Townend
Youll need HTH Mike -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 13:49 To: CF-Talk Subject: CFWDDX problem CFWDDX problem.. What do I do about this? I want to turn a struct into a WDDX packet, but the name of the struct is dyma

Re: CFWDDX problem

2001-09-20 Thread Jason Malfatto
Hmm. Have you tried putting the application variable into a local variable first? e.g.: Jason >From: "Mike Kear" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: CFWDDX problem >Date: Thu, 20 Sep 2001 22:49:06 +1000 > >CFWDDX problem.. What do I do

RE: CFWDDX problem

2001-09-20 Thread Rich Wild
the following: > input="#evaluate('application.um.' & UmID & '_Data')#"> might help you out. > -Original Message- > From: Mike Kear [mailto:[EMAIL PROTECTED]] > Sent: 20 September 2001 13:49 > To: CF-Talk > Subject: CFWDDX problem > > > CFWDDX problem.. What do I do about this? I

RE: CFWDDX problem

2001-09-20 Thread Raymond Camden
Since UM is a struct, just reference it as: #Application.Um[UmID].Data# As a general comment - and I've said this before so forgive me for being an old cranky developer (grin), folks, please do not forget the [] notation for structures. It's perfect for stuff like this. ===

RE: CFWDDX problem

2001-09-20 Thread Mark Smyth
wouldn't the evaluate function help here? -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED]] Sent: 20 September 2001 13:49 To: CF-Talk Subject: CFWDDX problem CFWDDX problem.. What do I do about this? I want to turn a struct into a WDDX packet, but the name of the struct is