Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Getting an error in access 2010 when creating a macro

Posted on 2011-02-23
Medium Priority
Last Modified: 2012-08-14
I am getting the error when I create a macro in the form view.  If I do it the long way it will work, but I cannot use the newer easier command fields.  Access 2010 features are not being recognized.  Using 2007 accdb files and getting the error below
Question by:mickeymo09
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 31

Expert Comment

by:Helen Feddema
ID: 34963163
Not sure what you mean -- macros don't have a form view.  In Access 2010, they have more features than in earlier versions, and macros created in Access 2010 are not usable if the database is opened in 2007.  Can you be more specific about your problem?  All the PDF shows is the error message.
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34965303
Also please post image files for us to view.

Image files are viewable directly in the thread, ...PDF's (currently) are not.

LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34965351
But the error is self explanatory.

Under certain conditions "Refresh" is not available.

So can you take a step back and explain what you are trying to do with this macro?
Along with this, post all of the macro actions up until the error line...

Perhaps all that is needed is to save the current Record
Action: RunCommand
Argument: SaveRecord

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.


Author Comment

ID: 34974235
ok i will post

but i create a new macro and try to run the macro - that is when i get the refresh error -

Accepted Solution

mickeymo09 earned 0 total points
ID: 34979676
I figured out what the cause was - I was logged in as a user instead of the owner  that is default -
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 34982635

You can accept your own post as the solution.



Author Comment

ID: 34982835
ok thank you

Author Closing Comment

ID: 35015563
tested a setting that is default - and once i changed the setting i no longer received the refresh error

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question