I will explain. I have writen a programe to write blocks of text to a database. but if any of the text has the " ' " character then I get an error message. you can have the charater in pairs. but not on it's own. is they any way to look though the text before it is writen to the database and change the charater or add the charater at the end if an error message is generated. <BR>Help!!!