Walter Meester
HoogkarspelNetherlands
David,
PMFJI, but there is one thing people should be aware off. The RI mechanism in the standard VFP RIBuilder (and my TaxRiBuilder for that matter) rely on the ON ERROR mechanism.
If in an object with code in the error event triggers the RI code in the database, you'll have to handle the cases that error event fires because of errors in the RI procedure. I think this also has been pointed out by doug hennig in one of its articles on his website.
Therefore I tend to use error events only in cases where absolutely needed and there where there is no chance of intermixing it with the ON ERROR handler.
Walter,
>I'm sorry, but there's nothing unfortunate about an object being fully in control of any errors that occur within the code of the object itself. That is the way things should be in a good object-oriented language.
>
>>As you already figured out, there is no way and that's unfortunate. I was caught by this behavior couple of times... I'm not sure, we can wish about it for Toledo, because adding ability to switch will break the existing code...
Previous
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