Capturing a Non-Fatal VException

Chuck Pelto cbpelto at pcisys.net
Tue Jun 27 03:26:45 CDT 2006


On Jun 26, 2006, at 3:45 PM, Ruslan Zasukhin wrote:

> On 6/26/06 11:05 PM, "Chuck Pelto" <cbpelto at pcisys.net> wrote:
>
>> Where do I see the information about a non-fatal VException?
>>
>> I'm doing a call to theCursor.UpdateRecord() in V4RB2.
>>
>> When I step through that line of code, I see VException at the bottom
>> of the screen and the debugger wants me to hit the STEP button again.
>>
>> When I do, the program does not stop, but takes me back to window
>> where I was working in the App in debug mode, as if the record had
>> been updated. However, browsing the table's data, I see not change
>> has occurred.
>>
>> Everything in the code compiles and seems to be running properly in
>> the debugger.
>
> If you want catch some exception you need have catch block for this.

Please forgive my ignorance, but what call is supposed to be made in  
order to see what the exception is? What goes between 'catch' and  
'end try'?

I've searched through the reference material and the archives but  
have not found an example of that particular line of code.

Regards,

Chuck


More information about the Valentina mailing list