|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
brain fart on #'s
what the heck am I doing wrong?Tony Weeg 05/17/04 11:46 P Tony,Stephen Moretti 05/18/04 05:04 A Is get a query? What happens when you're on the last row? Request.nextRecordMatthew Walker 05/18/04 12:05 A 1. yes. it's a query.Tony Weeg 05/18/04 12:07 A Just a shot in the dark, but couldn't CF misinterpret the var "get". ItPascal Peters 05/18/04 05:39 A 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 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 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 _____ 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 _____ 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 -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||