Yes. This will give the reason there is an error. From that we could expand.
Possibly even this to narrow things down to the problem line.
Catch to oException
Theproblem = oException.Message + " on line: " +
Transform(oException.LineNo)
Returning out of a Try/EndTry construct is a bad thing. If an error occurs
after returning to the calling program, FoxPro might go back to the Catch
that is no longer available causing a C0000005 error.
-----Original Message-----
From: Sytze de Boer
Sent: Thursday, October 08, 2009 5:47 PM
Can you help me please
Do you mean something like the following
CATCH
theproblem=message()
=Messagebox(theproblem,0,'')
_______________________________________________
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/000b01ca4863$80b94c70$822be5...@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.