8/28/2025 5:27:10 PM
|
|
slxdeveloper.com Community Forums |
|
|
|
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
|
|
|
|
cancelling a move from a parent record
Posted: 06 May 09 4:14 PM
|
I hope someone can help me...
We have a datagrid on a tab on a main view (Opportunities) in which users will enter percentages. If the total, when they are completely done, does not = 100, then I am to display a msgbox and not allow the form/tab to close. Because the plugin itself is not bound to any data (I guess), the OnValidate event is not firing. The event that seems to fire at most of the appropriate times (though it seems not completely consistently) is the form's OnBeforeRecordClose event. This is a sub, not a function. Can you suggest some code that will stop the tab from changing, or the main view from closing, or the main view from moving to the next parent record?
I've tried OnFormCloseQuery and this works effectively, but only when the user is closing, not when they are moving to another tab or record.
|
|
|
|
You can
subscribe to receive a daily forum digest in your
user profile. View the site code
of conduct for posting guidelines.
Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
|
|
|
|
|
|
|
|