Is there a validation event in the vs_dc_master/vs_dc_list_master where put the validation check ?
and
Is there a preupdate event for defaultsetting/key inizializating/etc ? (Ex: i have to set the PK of record)
ty GMY
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you will notice that every Window Class inherited from the Integrated framework contains an “oe_validate” event. This is called before the default DC/DS save or the Windows Closes. Your PB /Appeon application can validate the transaction here and return either a +1 (OK to continue the close) or –1 (Bad abort the close). The framework will then take the appropriate action based on your RC.
You may also use the CloseQuery event by over-riding the framework's code and calling the ancestor code if your validation is OK to close the dialogue. By not calling the ancestor code, your dialogue remain in control and the transactional data intact to allow the user to retry the save operation again.
From: GIMMY SUSAN
Sent: Friday, August 21, 2015 4:27 PM
To: cpollach@travel-net.com
Subject: [stdfndclass:discussion] validation event / pre update event
Is there a validation event in the vs_dc_master/vs_dc_list_master where put the validation check ?
and
Is there a preupdate event for defaultsetting/key inizializating/etc ? (Ex: i have to set the PK of record)
Is there a validation event in the vs_dc_master/vs_dc_list_master where put the validation check ?
and
Is there a preupdate event for defaultsetting/key inizializating/etc ? (Ex: i have to set the PK of record)
ty GMY
Hi Gimmy;
Yes, you will notice that every Window Class inherited from the Integrated framework contains an “oe_validate” event. This is called before the default DC/DS save or the Windows Closes. Your PB /Appeon application can validate the transaction here and return either a +1 (OK to continue the close) or –1 (Bad abort the close). The framework will then take the appropriate action based on your RC.
You may also use the CloseQuery event by over-riding the framework's code and calling the ancestor code if your validation is OK to close the dialogue. By not calling the ancestor code, your dialogue remain in control and the transactional data intact to allow the user to retry the save operation again.
HTH
Chris Pollach
CEO/President: Software Tool & Die Inc.
Website: http://www.softdie.ca
Blog: http://chrispollach.blogspot.ca
PBDJ: http://chrispollach.sys-con.com
SourceForge: http://sourceforge.net/projects/stdfndclass
TKD: http://www.syeoh.com
From: GIMMY SUSAN
Sent: Friday, August 21, 2015 4:27 PM
To: cpollach@travel-net.com
Subject: [stdfndclass:discussion] validation event / pre update event
Is there a validation event in the vs_dc_master/vs_dc_list_master where put the validation check ?
and
Is there a preupdate event for defaultsetting/key inizializating/etc ? (Ex: i have to set the PK of record)
ty GMY
validation event / pre update event
Sent from sourceforge.net because cpollach@travel-net.com is subscribed to https://sourceforge.net/p/stdfndclass/discussion/ifw/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/stdfndclass/admin/discussion/forums. Or, if this is a mailing list, you can unsubscribe from the mailing list.
Good