Results 1 to 3 of 3
  1. #1
    MFriend is offline Novice
    Windows 10 Office 365
    Join Date
    Jun 2010

    Question Need help editing an action or macro

    Hi Folks:

    I have a question about editing an action (macro?) from a project that was developed years ago.
    The action is set to export a .csv file when the form is closed to a .csv file on the "R" drive.

    The problem is that now it needs to export the .csv to the "D" drive and I can't figure out how to change the destination from R to D.

    I have attached a copy of the accdb file in a zip file. Any help is appreciated.... It's been many years since I've worked with Access' actions/macros.

    The error:
    Click image for larger version. 

Name:	error_export.PNG 
Views:	8 
Size:	10.9 KB 
ID:	45034

    The Action:

    Click image for larger version. 

Name:	access_macro_1.PNG 
Views:	8 
Size:	159.8 KB 
ID:	45036

    The Button the Action (macro?) is on:
    Click image for larger version. 

Name:	access_macro.PNG 
Views:	8 
Size:	171.8 KB 
ID:	45035

    PS27 Spring Calving

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Ontario, Canada
    Lot's of Google results about editing import specification. You could try them or the easiest might be to recreate the import. Here's just one.

    If this happened because file(s) got moved there's not much you can do to prevent it. If the problem is because a user has the exact same folder mapping but their drive letter is different, then it's better to use UNC paths where possible, instead of drive volume labels (e.g. D, E, F and so on).
    - "doesn't work" doesn't help. Implement changes in copies of your database.
    Iím telling everyone it's good to eat dried grapes. Itís all about raisin awareness.

  3. #3
    MFriend is offline Novice
    Windows 10 Office 365
    Join Date
    Jun 2010
    Hi Micron:

    The action or macro is exporting the data from one of the tables to a .csv file and saving it to the "R" drive on our older tablets. We can no longer use the "R" drive and need the action/macro changed so it will save to the D drive instead. I just can figure out how to do it.

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

Similar Threads

  1. Replies: 5
    Last Post: 09-19-2016, 01:35 PM
  2. Using the SendKeys action in a Macro
    By john134 in forum Programming
    Replies: 5
    Last Post: 05-27-2014, 01:54 PM
  3. SetValue Macro action
    By rkalapura in forum Programming
    Replies: 3
    Last Post: 12-19-2011, 11:54 AM
  4. Macro Action
    By Bakar in forum Forms
    Replies: 1
    Last Post: 01-05-2011, 12:38 PM
  5. conditional macro action
    By frcastro in forum Programming
    Replies: 4
    Last Post: 06-27-2010, 10:59 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 - Senior Forums