Re: struct/query strange behaviour

2008-11-11 Thread rex
Way to go Railo! Well, even though it's unlikely that a valid SQL query would contain a struct for a row (can it?), inserting a struct into a query variable is allowed. CF looks at the first record of a query variable whenever you reference a column from it outside of a query-looping structure

Re: struct/query strange behaviour

2008-11-10 Thread Azadi Saryev
if you give your struct keys valid cf names then you should be ok... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ to wrote: hi all, i'm wondering if this has also happened to you (see code below) myQuery.Advanced[2] in CF7 results in a struct with Totti Del Piero, but in CF8

struct/query strange behaviour

2008-11-10 Thread to
hi all, i'm wondering if this has also happened to you (see code below) myQuery.Advanced[2] in CF7 results in a struct with Totti Del Piero, but in CF8 gets Lemont what funny is that structcount result is 3 (!?!?) any suggestions? TIA, T. *

RE: struct/query strange behaviour

2008-11-10 Thread Adrian Lynch
That's not true of [] syntax. someStruct[this is one funky key!] Adrian Building a database of ColdFusion errors at http://cferror.org/ -Original Message- From: Azadi Saryev Sent: 10 November 2008 16:09 To: cf-talk Subject: Re: struct/query strange behaviour if you give your struct

AW: struct/query strange behaviour

2008-11-10 Thread to
try cfdump var=#myQuery.name[2]# i get CFCs for Enterprise Applications :-? -Ursprüngliche Nachricht- Von: Adrian Lynch [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 17:27 An: cf-talk Betreff: RE: struct/query strange behaviour That's not true

Re: struct/query strange behaviour

2008-11-10 Thread Gert Franz
Just a side note... Railo returns StructCount = 2 and dumps a struct with two keys containing 3 keys. I guess as expected. Greetings from Switzerland Gert Franz Railo Technologies GmbH [EMAIL PROTECTED] www.railo.ch Join our Mailing List german:http://de.groups.yahoo.com/group/railo/