My table update error handler uses AERROR() to trap TABLEUPDATE() errors:
SELECT table
IF NOT TABLEUPDATE()
=AERROR(laError)
...error handler code...
ENDIF
When a field validation rule fails, I noted the following:
Array element In VFP 3.0b In VFP 5.0
laError(1) error number error number
laError(2) error message text error message text
laError(3) field name that violated rule error message text <----- ?
I discovered this when I converted a VFP 3 app to VFP 5. My VFP 3.0b error
handler bombs because of the difference between the return values of the
3rd array element.
This is a bug.
I can't imagine that MS would have changed the functionality of AERROR() in
VFP 5, so I must be doing something wrong. Any ideas on this?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only