Results 1 to 6 of 6
  1. #1
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672

    Set-Up Question

    I have a linked SQL Server table into my Access 2013 database. It holds customer information and loads it onto a form. I need a way from the form to set a customer as active, or inactive. I was thinking of adding in a check box, and adding a bit column to my SQL Server Table. However, I have had big issues when my SQL table has a bit column.



    Is there a different way for me to do this set-up or a different field type I can use in SQL Server and still use check box?

  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    What about an Access table linked on custID and have the boolean field in the Access table?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    jo15765's Avatar
    jo15765 is offline Expert
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2010
    Location
    6 Feet Under
    Posts
    672
    Quote Originally Posted by Micron View Post
    What about an Access table linked on custID and have the boolean field in the Access table?
    You are saying to create a secondary access table and join on custID and update this table based off the checkbox selection?

  4. #4
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Yup. You should be able to return all customer info from the sql table plus customer status from the Access table.

  5. #5
    jwhite is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2012
    Location
    North Carolina
    Posts
    349
    An additional thought... If it might be helpful in the future to know when a Customer went Inactive, create a DateInActive field - if it is populated then the Customer is InActive, and you will know when that occurred.

  6. #6
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    Agreed. In fact I've suggested that before in similar threads, noting that if the field is Null, the status is active, otherwise the date infers inactive. I guess this time I focused on status. It's when there's more than 2 possibilities that the date alone is insufficient. So if there's to be Active, Inactive, Pending, etc. then the date has to be an additional field and I would call that one StatusDate.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 08-25-2012, 07:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums