Results 1 to 6 of 6
  1. #1
    HackerMan is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2018
    Posts
    7

    Change field in table then update in form without deleting/readding


    is there any way that if you change the data type in a table, that you can update the existing field in a form to match without having to delete and re-add in the new format?

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    What's the Control type? If it's a textbox, not much would change, what is the data type being changed from / to ?
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    HackerMan is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2018
    Posts
    7
    being changed from yes/no to a short text combo box of "Yes";"No"

  4. #4
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Oooh okay, If you want my personal advice I wouldn't do that.
    What is driving you to make this change. You can easily make the combo display Yes or No, and still store the boolean datatype.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    Actually, Allen Browne advocates the use of text boxes instead of yes/no fields, so why would you not do that? I'm assuming this
    being changed from yes/no to a short text combo box of "Yes";"No"
    means currently it's a check box. Yes/No isn't a control type - it's a data type. If your table field is Y/N you can format it to Yes No, True False if that helps. Regardless, a combo will display any of these with the added benefit of allowing you to store Null in the record.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    HackerMan is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    May 2018
    Posts
    7
    I wanted to switch from a check to a drop down to keep the null value (in case someone entering data missed the question)

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

Similar Threads

  1. Replies: 13
    Last Post: 11-23-2017, 02:03 PM
  2. Replies: 7
    Last Post: 04-07-2017, 02:08 AM
  3. Replies: 1
    Last Post: 06-25-2016, 02:00 PM
  4. Replies: 1
    Last Post: 06-18-2016, 10:51 AM
  5. Replies: 3
    Last Post: 09-12-2015, 10:16 AM

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