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!
|
| |
|
Re: Help: how to create custom table ID (6 digits) only
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? |
|
|
|
Re: Help: how to create custom table ID (6 digits) only
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.
|
|
|
|
Re: Help: how to create custom table ID (6 digits) only
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? |
|
|
| |
| |
| |
|