Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 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: Help: how to create custom table ID (6 digits) only
ambuenaventura
Posts: 27
 
Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 10 10:58 AM

Hi To all,


I'm a new user of Saleslogix ver 7, i wonder if you can guide me on how to create custom table id (6 digits) with a format like this (000-000)..


thank you in advance.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 10 11:20 AM

A table ID is a table ID. You don't want to change that. It is only meant to identify a record in the database, nothing more. If you're wanting to have some value in the format of something like 000-000 you should create this as a separate field. Then you can create code to populate that how ever you'd like. Make sense?

[Reply][Quote]
ambuenaventura
Posts: 27
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 10 11:42 PM

Thanks Ryan for your prompt response. 


Yeah, an ID or Code for example i create new account with data fields accountID accountName, address and so on.. i want to create a special code or ID to identify that this code is belong to this Accountname or accountID.. i know accountID is already given.. however, i need a code or for my datafield i called it codeID.. just a simple function or coding for this one will appreciate.


 


 

[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 10 2:13 AM
fiogf49gjkf0d

Do you have any remote users or offices? This would complicate the way in which this problem is solved.


Is it a numeric code that you are looking for? 000-001, 000-002 etc, or can it contain characters? We may be able to derive something suitable from the AccountID if it can contain characters and there are no remotes.


What is the purpose of the hyphen at char 4? Does it denote a logical break of some sort?

[Reply][Quote]
ambuenaventura
Posts: 27
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 10 3:03 AM

no we don't have remote users or offices.. actually an ID 000001 will do.. without hyphen.. thanks for the response

[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 10 3:09 AM

Can it be purely numeric (1, 2, 3 etc) or do you need the leading zeros (000001, 000002, ...)?

[Reply][Quote]
ambuenaventura
Posts: 27
 
Re: Help: how to create custom table ID (6 digits) onlyYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 10 3:50 AM
fiogf49gjkf0d

yes i need with the leading zeros.. is it possible? thanks..

[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/6/2025 4:03:48 AM