Results 1 to 5 of 5
  1. #1
    rkalapura is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    New York
    Posts
    69

    Data Macro in Access 2010


    I have a network database, using by many people in the company. I have data macros attached to the table and it was working fine until I split the database. I split the database and I sent all my tables to the back end, linked front end with back end tables. Now from the front end forms through command button, I am trying to run the data macros, it won't recognize. It gives a message that " Data macro does not exist". But when I go to the back end table and see, it is already there.

    I have searched in the web and see that data macro wont work with linked tables. I assume that data macros assigned to a table of one database cannot be accessed from other database, even we create a link to that table. But this is the same database, we just split to back end and front end for some purpose.

    Can anybody help me please. Am I doing something wrong here or missing to do something?

    Thank you very much for assistance.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Assuming all of the user access to your tables is through Forms then those Data Macros (table triggers) can probably be duplicated at the Form level.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    As RG says, use the equivalent Form events. Apparently Data Macros are intended for all-in-one design and web databases.
    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.

  4. #4
    rkalapura is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    New York
    Posts
    69
    Thank you Rural Guy and June7 for assistance. As June7 suggested, I have to look for some form events for this.
    God Bless You.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    A Form's BeforeUpdate event is a good place to trigger change events.

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

Similar Threads

  1. 2010 Data Macro weirdness with Parameters
    By mkenyon2 in forum Programming
    Replies: 3
    Last Post: 10-09-2012, 10:12 AM
  2. Data Macro in Access 2010
    By rkalapura in forum Programming
    Replies: 1
    Last Post: 07-06-2012, 08:38 AM
  3. Access 2010 first macro - errors
    By DLParker in forum Forms
    Replies: 9
    Last Post: 10-16-2011, 04:17 PM
  4. Access 2010 Macro Help
    By RayMilhon in forum Access
    Replies: 3
    Last Post: 09-30-2011, 12:03 PM
  5. Access 2010 Macro
    By RayMilhon in forum Access
    Replies: 3
    Last Post: 09-28-2011, 11:37 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