Friday, November 21, 2008 ..:: Forums ::.. Register  Login
 Forums Minimize
SearchForum Home
     
  Mainstream Forums  Help  Custom Dropdown...
 Custom Dropdown Woes
 
derekleu
3 posts
Joined
3/25/2008

Custom Dropdown Woes
Posted: 25 Mar 08 12:28 PM Modified By derekleu  on 3/25/2008 12:29:50 PM)

I made a custom list, CusineType, with several keys (chinese, japanese, italian, etc). I then created a custom field called Cusine_Type_c, linked to the dropdown. I added this field to my account edit and account detail views . It all looks fine, but when you click "Save" I get the following:

Cannot insert the value NULL into column 'RELEVANCE_C', table 'SplendidCRM.dbo.ACCOUNTS_CSTM'; column does not allow nulls. UPDATE fails. The statement has been terminated.

Can someone please tell me what I'm doing wrong?  Is there a doc somewhere explaining how to correctly create custom dropdowns? Any help would be appreciated, thanks!

support
2098 posts
1st
Joined
1/3/2006

Re: Custom Dropdown Woes
Posted: 25 Mar 08 1:20 PM

Clear the Required Field flag.  It will only work if the table is empty.  When the field is required, we create it as NOT NULL.

derekleu
3 posts
Joined
3/25/2008

Re: Custom Dropdown Woes
Posted: 25 Mar 08 3:03 PM

 

Thanks for the help!

Ok, I recreated the field and removed the "required field" flag. I can now go in, select an option, and click save without an error, but the change does not persist.

It goes back to being "blank".

I have these checked in the DetailView Field.

Data Required:
UI Required:

Any ideas?

derekleu
3 posts
Joined
3/25/2008

Re: Custom Dropdown Woes
Posted: 25 Mar 08 3:09 PM

I tried unchecking the boxes, no difference.

 

support
2098 posts
1st
Joined
1/3/2006

Re: Custom Dropdown Woes
Posted: 25 Mar 08 8:42 PM

What is the size of the custom field you created?  Is it possible that the length of the list exceeds the length of the field?

Another thing you can try is to change the EditView to be a textbox.  This should confirm that data is being saved to the custom field.

  Mainstream Forums  Help  Custom Dropdown...

Forum Home  Search       

Copyright (c) 2006-2008 SplendidCRM Software, Inc. All Rights Reserved.   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2008 by Perpetual Motion Interactive Systems Inc.
SplendidCRM and SplendidCRM Software are trademarks of SplendidCRM Software, Inc. SugarCRM is a trademark of SugarCRM Inc. in the United States, the European Union and other countries. All other trademarks used in this web site are the property of their respective owners.