To prevent that from happening, I would put a substr() of the memo field so the string never goes over 254.
Be careful with memo corruption, it could mean that you're having a hardware issue or your write cache is turned on. --- On Tue, 10/7/08, Sytze de Boer <[EMAIL PROTECTED]> wrote: From: Sytze de Boer <[EMAIL PROTECTED]> Subject: VFP9 String too long To: [email protected] Date: Tuesday, October 7, 2008, 9:14 PM Some of you may remember a problem I had a few weeks ago where I suddenly had error String too long to fit Many of you tried to assist but it now seems we were looking in the wrong area. I have now located the line in my program that does it It is Repla wofhist With wofhist + "Inv # "+Alltrim(Str(thinv))+' on '+Dtoc(invdate)+Chr(13) AddIt wofhist is a memo field thinv is an invoice number When I checked the len(wofhist) in the table, it returned some humongous number. i.e. it was filled with crap (about 20 records were so effected) Gosh, I feel a lot better now Sytze -- Regards Sytze de Boer Kiss Systems Ph: 64-7-8391670, Mob:021 937611, Skype: kissman2 www.kiss.co.nz --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

