Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter and 'The BeforeUpdate event has failed' me
Message
From
30/05/2003 15:24:35
 
 
To
30/05/2003 15:08:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00794091
Message ID:
00794710
Views:
18
>Hi Aleksey.
>I am not using ON ERROR statement.
>I am just using the CursorAdapter.BreakOnError = .F., so if some error occurs it calls the CursorAdapter.Error event. Then in Error event I tried to RETURN .F., but VFP just go ahead with update process.
>I don´t know if you tried to do somenthing like that? It looks like a bug in VFP... I don´t know...
>
>Does somebody has some idea to work arround this?
>
>Thanks anyway.
>Ricardo.

Ricardo,

I made a mistake at the very beginning.
Instead of calling Error function you should call Error command:
Error "The value is not valid..."
Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform