My initial guess would be that some part of the form data isn't coming through. What the "String index out of range: -2" error means is that in some process there's some operation running on a string that goes beyond the limits of the string length. For example, if you were doing something like myVar = Left(myString, Len(myString) - 2) and the length of myString is 0, you'd see this error.
Matt On Mon, 28 Feb 2005 11:46:15 -0600, Eric C Sandquist <[EMAIL PROTECTED]> wrote: > > > > > > I have an application with a series of data collection and insertion pages > ann in the last 2 weeks started receiving this error in my Request Error > template: > > Error.Diagnostics: String index out of range: -2 null <br>The error occurred > on line 28. > > > > Line 28 of the code consists of the following: > > <CFINSERT datasource="#Application.DSN#" tablename="retailattributes" > formfields="anchor1, anchor2, anchor3, trafficcountNS, trafficcountEW, > parkingratio, propidnumber, radius1, population1, HH1, HHincome1, radius2, > population2, HH2, HHincome2, radius3, population3, HH3, HHincome3"> > > > Has anyone else ever gotten an error such as this? It is just a simple > insert, all the other pages work, It is just this one spot... The database > is in SQL 2K. I can't seem to find reference to -2 anywhere regarding this > message type... > > > > Eric > > ________________________________ > I am using the free version of SPAMfighter for private users. > It has removed 87253 spam emails to date. > Paying users do not have this message in their emails. > Try SPAMfighter for free now! > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
