House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

brain fart on #'s

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
what the heck am I doing wrong?
Tony Weeg
05/17/04 11:46 P
Tony,
Stephen Moretti
05/18/04 05:04 A
1. yes. it's a query.
Tony Weeg
05/18/04 12:07 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
05/17/2004 11:46 PM

what the heck am I doing wrong? brain fart on the: get.companyIdNumber[request.nextRecord] part of this... <cfset request.nextRecord = i + 1> <cfif get.companyIdNumber[i] eq get.companyIdNumber[request.nextRecord]>   <option value="0"> #get.yournamehere# </cfif> gives me... You have attempted to dereference a scalar variable of type class java.lang.Integer as a structure with members. ....tony r e v o l u t i o n w e b d e s i g n tony@revolutionwebdesign.com www.revolutionwebdesign.com its only looks good to those who can see bad as well -anonymous

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Stephen Moretti
05/18/2004 05:04 AM

Tony, Tony Weeg wrote: > > <cfif get.companyIdNumber[i] eq get.companyIdNumber[request.nextRecord]> > <option value="0"> #get.yournamehere# > </cfif> You need your row reference on get.yournamehere. Also, its better html if you put the close option tag in there too. ;o) <option value="0">#get.yournamehere[i]#</option> Regards Stephen

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Matthew Walker
05/18/2004 12:05 AM

Is get a query? What happens when you're on the last row? Request.nextRecord would be larger than the recordCount, right?   _____ Sent: Tuesday, 18 May 2004 3:44 p.m. To: CF-Talk Subject: brain fart on #'s what the heck am I doing wrong? brain fart on the: get.companyIdNumber[request.nextRecord] part of this... <cfset request.nextRecord = i + 1> <cfif get.companyIdNumber[i] eq get.companyIdNumber[request.nextRecord]> <option value="0"> #get.yournamehere# </cfif> gives me... You have attempted to dereference a scalar variable of type class java.lang.Integer as a structure with members. ....tony r e v o l u t i o n w e b d e s i g n tony@revolutionwebdesign.com www.revolutionwebdesign.com its only looks good to those who can see bad as well -anonymous   _____  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tony Weeg
05/18/2004 12:07 AM

1. yes. it's a query. 2. doesn't matter. I just cant get it to parse correctly. ....tony Tony Weeg sr. web applications architect navtrak, inc. tony@navtrak.net 410.548.2337 www.navtrak.net Is get a query? What happens when you're on the last row? Request.nextRecord would be larger than the recordCount, right?   _____ Sent: Tuesday, 18 May 2004 3:44 p.m. To: CF-Talk Subject: brain fart on #'s what the heck am I doing wrong? brain fart on the: get.companyIdNumber[request.nextRecord] part of this... <cfset request.nextRecord = i + 1> <cfif get.companyIdNumber[i] eq get.companyIdNumber[request.nextRecord]> <option value="0"> #get.yournamehere# </cfif> gives me... You have attempted to dereference a scalar variable of type class java.lang.Integer as a structure with members. ....tony r e v o l u t i o n w e b d e s i g n tony@revolutionwebdesign.com www.revolutionwebdesign.com its only looks good to those who can see bad as well -anonymous   _____  

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Pascal Peters
05/18/2004 05:39 AM

Just a shot in the dark, but couldn't CF misinterpret the var "get". It looks like it's seeing it as something else. Did you try dumping "get"? ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference