web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Dynamics SL2011 Custom Checkbox field in Vendor maintenance. How do I set default to unchecked?

(0) ShareShare
ReportReport
Posted on by

Hello,

I setup a custom checkbox field in Vendor maintenance and it is defaulting to greyed out and checked.

How do I set the default to active and unchecked?

*This post is locked for comments

I have the same question (0)
  • Mark E Profile Picture
    6,451 on at

    What field did you use?  If it is a user field, it should be one of the float fields (User3 or User4) that are defaulted to zero (unchecked) when a new record is inserted.  When you check the box, it should change the field value to 1.

    If the field is greyed out, I am assuming you used a field that is not a float type. 

  • Community Member Profile Picture
    on at

    Hello,

    I used User1 for the checkbox. Only user1 and user2 are available when adding a checkbox data bound object in Insert Object Wizard in Customize mode.  I can select user3 or user4 when selecting a textbox.

  • Verified answer
    Mark E Profile Picture
    6,451 on at

    You are correct about that; used to be able to use float fields in prior versions (I think), but now are limited to character and integer...

    Since there are no User integer fields, you'll have to set the Default property to 0 (zero) in Customization Manager so that the field starts with a 0 (unchecked) value.  Checking the box should set the value to 1.

  • Community Member Profile Picture
    on at

    hello,

    We did put the 0 in the default property and it did not change the default.  It is still greyed out and checked.

  • Verified answer
    Community Member Profile Picture
    on at

    Bring up your screen in customization mode again, select the field in question and then open the properties window.  Check what values you have for FalseText and TrueText.  If they are set to N and Y, change them to 0 and 1 and see if that corrects the issue.

    The greyed out checkmark is displayed with a checkbox field does not have either the FalseText or the TrueText value as defined in its property.

  • Community Member Profile Picture
    on at

    Hello,

    I deleted all the customizations in the screen.  I started over and set USER6 as the checkbox.  I then set default=0 and FalseText=0 TrueText =1.  When you first enter the Vendor Maintenance screen, the checkbox is blank.  When you select an existing vendor, it is greyed out and checked.  When I select New, I get the blank checkbox again.  There are no data values in the table for the existing vendors, it just doesn't appear as I would expect with a blank box.  Should I set all vendors USER6 to a 0 as a workaround?  That seems to work

    update Vendor set User6 = '0'

  • Verified answer
    Mark E Profile Picture
    6,451 on at

    Yes, you would need to update the existing vendors to have the unchecked value of 0.

  • Community Member Profile Picture
    on at

    Great!  Thanks for all your help everyone!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans