Do not use on any
shared computer
July 24, 2008 07:47pm pdt
null
[x]
Attachment Details

What event should I extend (maybe override) to prevent commit ?

Tags: Powerbuilder
I have a detail datawindow (dw further) type which is linked to a master dw. When I have tried to update database with invalid data filled in the detail dw dberror event is launched. That is caused by reference integrity constraints in database which I would like to test without transaction. I have tried to extend pfc_validation event but it doesn't cover all causes. I had also tried to prevent the SQL error dialog box by return value in dberror event which was useless too.
Is there any way to prevent SQL error message appearing (or at least invalid insert query sending) ?
Start your free trial to view this solution
Question Stats
Zone: Programming
Question Asked By: vix612
Question Asked On: 04.16.2008
Participating Experts: 1
Points: 125
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by diasroshan

Rank: Wizard

Expert Comment by diasroshan:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by vix612
Author Comment by vix612:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by diasroshan

Rank: Wizard

Expert Comment by diasroshan:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by vix612
Author Comment by vix612:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by diasroshan

Rank: Wizard

Expert Comment by diasroshan:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by vix612
Author Comment by vix612:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628