Results 1 to 2 of 2
  1. #1
    motogbbj is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Nov 2014
    Location
    NL-Overijssel
    Posts
    12

    VBA code to remove content from numeric field

    Does someone know the VBA code to remove the data form a Numeric (Long) field ?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,649
    Could use an UPDATE action SQL to remove data from a field. VBA can execute this action.

    CurrentDb.Execute "UPDATE tablename SET fieldname = Null"
    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.

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

Similar Threads

  1. Replies: 4
    Last Post: 03-14-2024, 03:24 AM
  2. Replies: 17
    Last Post: 09-27-2019, 03:33 AM
  3. Replies: 3
    Last Post: 12-23-2018, 04:22 PM
  4. Code setting content of Field with ComboBox lookup
    By coffee4kepi in forum Modules
    Replies: 3
    Last Post: 02-02-2018, 04:46 AM
  5. Replies: 2
    Last Post: 01-03-2015, 07:18 PM

Tags for this Thread

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