Results 1 to 2 of 2
  1. #1
    Jumna is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2017
    Posts
    1

    Enable a Before Update Data Macro using VBA script

    Hi,

    I am importing selected columns from a Teradata Database to an MS Access 2010 table. I want to setup a Before Update data macro for this table, where a checkbox will be enabled on update of any field in a row. I want to auto2010mate this setup so that I dont have to manually set it up after every import of the table, which is how it is happening now.
    Can anyone pls help me in this with a sample code?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Don't understand. How do you enable/disable a field of table?

    Why would DataMacro setup be lost - are you deleting table and recreating it with each import?

    Sample code to do what - create a DataMacro? Review https://social.msdn.microsoft.com/Fo...orum=accessdev and a link referenced in that thread https://stackoverflow.com/questions/...54342#16254342
    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. Login script needs to update user password
    By Jllera in forum Programming
    Replies: 7
    Last Post: 02-09-2015, 10:58 AM
  2. VBA Enable Macro Security Alert
    By ssissons in forum Security
    Replies: 8
    Last Post: 07-10-2014, 03:05 PM
  3. Replies: 3
    Last Post: 04-02-2014, 10:31 AM
  4. Need to create a script to auto update a field
    By storyiii.5 in forum Programming
    Replies: 1
    Last Post: 08-07-2013, 04:43 PM
  5. Replies: 1
    Last Post: 06-09-2012, 12:59 AM

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