As a quick thing to check and without seeing your code, try using Chr(13) & Chr(10), or the other way around, as the delimiter.
Ade -----Original Message----- From: Ben Densmore [mailto:[EMAIL PROTECTED] Sent: 01 August 2005 12:55 To: CF-Talk Subject: Inserting new record into DB based on new line I'm having a hard time trying to write some code and was hoping someone could give me some ideas on the best way to handle this. I have a spreadsheet that I need to take info from and dump into a database table, that's simple enough but in the spreadsheet, a couple of the cells have 5 lines seperated by a new line that need to be inserted as 5 seperate rows in the table. I was trying to loop through the field as a list with Chr(10) as the delimeter and do an insert that way but it's just creating 5 records with all 5 lines in each row rather than 5 seperate records with each line in those 5 records. Thanks, Ben ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213425 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54