Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, July 7, 2025 
 
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 ThreadView:  Search:  
 Author  Thread: set default values to 0 for use in calculated fields
Hugo
Posts: 1
 
set default values to 0 for use in calculated fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 May 10 7:57 AM
I have created a payment table (1:1 opp) to store payments details.
I use a form to show the payment details as well as a few calculated fields (total payments, exact sales value, etc...).
The pb is the calculated fields will only work if the fields they are based on contain values. If they are empty, the calculated fields won't work.
Is there any way of inserting default values?
Apparently, the only way is by hard coding the form itself.
1) is there any place/documentation where I could learn how to code?
2) what would the logic (and code) be to create those "0" default values?

Cheers,
[Reply][Quote]
Karlin High
Posts: 9
 
Re: set default values to 0 for use in calculated fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 May 10 3:14 PM
In SQL Server Management Studio, you can set a field property called "Default Value or Binding." This way the default value comes from the database table itself, as new records are inserted.
[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/7/2025 8:28:57 PM