>>Since it does not happen always and I cant reproduce it how do I trap the
error and save it to somewhere.<<

If you cannot reproduce the problem, it likely is a data conflict as I
mentioned, but it could be a different bug.

I already told you how to determine the problem (check the tableupdate and
use AERROR() to find the reason. Recording the error is up to you. Dump the
array into a table or something simple like a text file.

IF TABLEUPDATE() && check the parameters you need to pass for your cursor
   * All is well
ELSE
   * Not so well
   AERROR(laDataError)
   LIST MEMO LIKE laDataError TO FILE DataNotSaved.txt
ENDIF

Bullet proof my code sample as needed for your customer environment.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com




_______________________________________________
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/001f01c9b3b6$6b7ddc00$427994...@com
** 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.

Reply via email to