I'm in the process of designing a new general purpose error handler, and decided to programmatically generate a table contain the error number and message returned. The current documentation states that the last valid error number is 2035. However, at least in VFP 6.0 SP5, the following list of error numbers are apparently supported and appear to be connected in some cases with ADO record sets.
2036 The current Help file is empty.
2038 Microsoft Visual FoxPro doesn't support and cannot
open this format of recordset. It contains a recordset with a shape.
2039 Failed to create recordset.
2040 Field mismatch.
2041 <b>Recodset</b> does not exist.
No, folks that isn't a typo on my part. It's what MESSAGE() returns.< s >
I haven't check any of the error numbers prior to 2036, so I can't comment if any new, undocumented ones exist there.
George
Ubi caritas et amor, deus ibi est