Limit Text Field Length - Text Length Override
User is using a column "PROTOCOL_NAME" (varchar-100) to store the value entered in the Field "Name"(varchar-30) but can enter more than 30 characters.
It seems intuitive that a field attribute called "Text Length" would set a limit to the amount of text that could be entered into a field. But the fact is that the amount of text that a field will accept is normally determined by the size of the underlying database column and the text length property is ignored.
Solution:
This can be achieved by the following ways-
1. Find a database column that has the exact number of characters you need.
2. Use a field validation that will popup an error message if a user enters more characters than required.
3. Scripting can be used to alert the user and do not allow to save the record if the number of characters exceed a specific limit.
1. Find a database column that has the exact number of characters you need.
2. Use a field validation that will popup an error message if a user enters more characters than required.
3. Scripting can be used to alert the user and do not allow to save the record if the number of characters exceed a specific limit.
An ideal solution for the problem would be the use of a Field User Property "Text Length Override"
This user property allows you to specify that the text length of the field, rather than that of the database column, defines the maximum field length.
Syntax:
Field User Property:
Name - Text Length Override
Value – TRUE
Value – TRUE
The value TRUE makes use of the length specified at the Text Length Property of the Field and overrides the one at the database level.
Note:Use this for Text Fields
Related Articles:
Browse Categories
User login
Navigation
Popular content
- Autosys Job Handling (13,609)
- GE UNIVERSAL REMOTE INSTRUCTIONS (12,357)
- Siebel User properties (9,094)
- Test 1 - NC Drivers License Test - DMV Question Dump (8,770)
- Making a View "Read Only" based on a criteria: Aspect User Property (4,216)
- Siebel Application Response Measurement (SARM) (4,144)
- Siebel Predefined Queries (PDQ) – Reference (4,080)
- Siebel Server Component Event Logging (3,662)
- Strategies for Building Team Cohesion (3,153)
- How to create the EBC’s in Siebel (3,085)
Readers who viewed this page, also viewed:
- How To Add a New Property or Set the Value of an Existing Property in the Siebel Message XML that is Being Sent Out Through a Workflow Process (100.0%)
- Siebel Webservice And EAI - Basic Concepts ans Steps Involved (100.0%)
- How are addresses for account stored in the vertical Siebel 7 – Industry Application (100.0%)
- How can I hide the superfluous message in the “VBC error pop-up window“ (100.0%)
- Web Portal Integration with Siebel Applications (100.0%)
- XML Tools And Utilities (100.0%)
- Siebel XML Web Interface (100.0%)
- How to define Siebel CRM specific service fields (Fault, Header) in .WSDL, generated for a Siebel Inbound Web Service? (66.7%)
- Tracing Siebel server task with SQL Trace and TKPROF in Oracle (66.7%)
- Data Stage Sequential File Stages (Import and Export) Performance Tuning (66.7%)
