Here you go... > OK here is all of it. Again, I am getting a record from a database. The > record is > > "How many employees do you have?","1-100","101-1000","More than 1000" > > if(*pNextChar == '\"' && *(pNextChar + 1) == ',' && *(pNextChar + 2) == '\"')
When *pNextChar == '\"' at the end of your record, *(pNextChar + 1) is NULL, and *(pNextChar+2) is beyond allocated memory. ---------- Bradly J. Barton - [EMAIL PROTECTED] Jenies Technologies Incorporated (972) 602-1835 http://www.JTI.net http://PalmInHand.com -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
