6/20/2025 2:28:16 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.
|
|
|
|
trigger before next record
Posted: 06 Oct 07 10:18 AM
|
On our custom Opportunity screen I have a field that I want to allow users to lower the dollar value, but not increase. When the user enters a value I use the OnEnter and OnUpdate (I think these are the names) to prevent the user from increasing the value. Unfortunately, If the user enters a value and immediately clicks the right arrow to advance to the next opportunity no checks are done and the record is saved.
I can't determine any method of preventing this.
Thanks for your help. |
|
|
| |
|
Re: trigger before next record
Posted: 08 Oct 07 8:41 AM
|
Assuming you capture the dollar value when the opportunity is AXFORMCHANGE (global variables use less resources than a control e.g. txtOldDollarValue.TEXT as an invisible control would be my second choice to gOldDollarValue = txtSalesPotential.TEXT ).
OnExit of the control is always good.....and I thought this had been tightened up to capture all control exit events including special keys, tabs, menu items, clicking on a non SLX window, icons, etc.....but using John's Form Events also works, now that you know the initial value of DollarValue and have the new screen value and can compare it...... |
|
|
|
Re: trigger before next record
Posted: 08 Oct 07 8:44 AM
|
I will go back and try your suggestions, but I'm pretty sure I tried all the triggers. Thanks very, very much. |
|
|
|
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!
|
|
|
|
|
|
|
|