[Gambas-user] Before Delete Event

Charlie Reinl Karl.Reinl at ...2345...
Wed Dec 31 13:22:16 CET 2014


Am Mittwoch, den 31.12.2014, 02:50 -0200 schrieb Christian e Ana Luiza
Britto:
> Hi Folks,
> First I would like to wish to you all a Happy New Year!
> After that, I would like to know how to use the DataSource Before
> Delete event to verify if a record can be deleted or not. If not the
> record cannot be deleted the program must keep the record intact.
> Best Regards,
> Christian
> 

Salut Christian,

I think this is the place to check the constraints and to delete all
dependent records if needed.
-- 
Amicalement
Charlie





More information about the User mailing list