Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Sunday, August 24, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/24/2025 2:37:52 AM
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!
Architect Forums - SalesLogix Scripting & Customization
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.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Force the Form Modified Attribute
careed76
Posts: 16
Force the Form Modified Attribute
Posted: 23 Jun 08 2:05 PM
I have a custom Opportunity tab in SalesLogix 6.2.6 that contains several text boxes that are not directly bound to a column in the database. The values that appear in the text boxes are read from a table that has a 1:Many relationship with the opportunity table and custom code has been written to read and update the appropriate records in the database. When a user changes the values in one of these textboxes, the Save button in the toolbar does not activate and the Form OnValidate function is not called. This seems to be related to the Modified attribute of the Form (I don't have the code in front of me right now, but I believe its called Modified or Changed or some other synonym). Is there any way to programmatically force the Form's Modified attribute to True or in some other way cause the Save button to activate and the OnValidate function to execute? Thanks.
[
Reply
][
Quote
]
Jason Buss
Posts: 382
Re: Force the Form Modified Attribute
Posted: 23 Jun 08 3:20 PM
This seems to work as a workaround:
Create a boolean field in your Opportunity table (or a 1-to-1 off of opportunity), and drop a checkbox on your form bound to that field. Make the checkbox invisible, and add code to the whenchange event of any textboxes to change the state of the checkbox whenever their value changes. Since the control is bound, the Save button should activate, and saving should launch the onvalidate event of the form.
I'm sure there is probably a "correct" way to do this, but this should work as well.
[
Reply
][
Quote
]
Page 1 of 1
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!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 8/24/2025 2:45:43 AM