Results 1 to 4 of 4

Thread: Importing check box fields

  1. #1
    Join Date
    Jul 2006
    Posts
    9

    Default Importing check box fields

    Hi,

    Does anyone know what value/form a check box field should take in the Tab Deliminated File to get them to map and import to Sugar check box fields?

    I've tried TRUE/FALSE and that does not work.

    Any ideas would be appreciated.

    Thanks.

    Matthew

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Importing check box fields

    Try 0 for false, 1 for true.
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  3. #3
    Join Date
    Jul 2006
    Posts
    9

    Default Re: Importing check box fields

    Thanks, that worked!

    Thank you for your time. MS

  4. #4
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: Importing check box fields

    Just to add to Malcolm's answer...

    There are two types of fields which are displayed as checkboxes in Sugar.

    Fields like invalid_email (in contacts table) has datatype of tinyint(1), and it will accept 0 for false and 1 for true.

    In the same contacts table there's a field email_opt_out which has datatype of varchar(3). email_opt_out will accept off for false and on for true.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •