Results 1 to 4 of 4
  1. #1
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398

    Field within table

    Using VBA, how do you delete a field within a table?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,627
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    MarcoRed is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2012
    Location
    Cambodia
    Posts
    8
    So you meant that you're not gonna delete whole Record, Just one or two field(s)?
    Let's try my solution! First you must create an "update" Button (using VBA work great). After you already created an "update" button, just take a look at any field you want to delete. Example: you want to delete a field "Name". First select that field and edit it (double-click on it to edit the field) and clear all the texts in that field and click on "Update" button (you just created). And every things are Done!
    Enjoy! I prefer to use this method.

  4. #4
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    The ALTER TABLE is what I needed. Thanks!!

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

Similar Threads

  1. Replies: 5
    Last Post: 06-19-2012, 10:46 AM
  2. Replies: 12
    Last Post: 03-17-2012, 04:46 AM
  3. Replies: 1
    Last Post: 08-31-2011, 04:03 PM
  4. Replies: 3
    Last Post: 08-26-2011, 12:11 PM
  5. Replies: 4
    Last Post: 05-11-2011, 03:06 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