function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
msc7808msc7808 

Create Custom Object

I have following test tables in my SQL server which I need to bring forward into the Salesforce.

 

1st Table:    Chain

 

ChainCode            char(2)

Description          nvarchar(100)

 

 

2nd Table:  Hotels

 

HotelDetails

 

HotelID               Number Auto-Increment

ChainCode            char(2)    <-----------------------Master-Detail Relationship to Chain.

 

I was told to create Custom Objects in the Salesforce therefore Group these into seperate Apps etc. Could someone please provide in details how to achieve this? I am having bit trouble when creating 1st custom object Chain. I can specify the field as Text however how can I limit the user to only enter two digits as opposed to 80 Chars which is default limit.

 

Best Regards,

Manny

 

 

aalbertaalbert

When you create a custom field, defined as Text, you can specify the field length. So set the Length to 2.I just tested this out and it enforced the 2 character setting. 

 

 

Message Edited by aalbert on 01-24-2009 04:07 PM