Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Access 2007 - create macros to toggle between design view, form view, and layout view

Posted on 2011-03-17
6
Medium Priority
?
364 Views
Last Modified: 2012-06-22
In a previous version of Access, I was able to create a macro called AutoKeys which allowed me to assign key strokes to commands.  Some of them are now obsolete.  

Example:  {F7} signifies the F7 function key.  Assigned to this key was the action RunCommand and the command was DesignView.  DesignView appears to no longer be valid,  How could I do this type of thing in Access 2007?  Thanks!  
0
Comment
Question by:ssailer
[X]
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
  • 2
  • 2
  • 2
6 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 total points
ID: 35157241
you can stilll use the AutoKeys macro in 2007

http://msdn.microsoft.com/en-us/library/bb177367%28office.12%29.aspx

see this for the list of acCommand

http://msdn.microsoft.com/en-us/library/bb225843%28v=office.12%29.aspx

sample;
DesignView  > acCmdDesignView
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35157496
There are keyboard shortcuts to do this as well:

For example:
Ctrl+,
(Hold down the Control key and tap the comma key)
...will bring you to design view from Form view.

Note that this keystroke, and it's companion keystroke  Ctrl+.
...actually toggle you forward and backward through all the views of a form/Report.

This is what I have used since Access 2003, ...thus avoiding the extra Code or Macros.

;-)

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35157543
A list of all of Access 2007 keyboard shortcuts can be found here:
http://office.microsoft.com/en-us/access-help/keyboard-shortcuts-for-access-HP010091394.aspx
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:ssailer
ID: 35158062
Capricorn1 - this isn't with macros though, right?  acCmdDesignView is not available in macros as an action argument.  
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 35158123
did you click on Show all actions from the ribbon?
0
 

Author Comment

by:ssailer
ID: 35158181
Capricorn1 ... No, I hadn't done that.  Now I did and the command is there.  However, I'm getting a caution sign with an exclamation point through it next to the macro.  When I run it, it seems fine.  Not sure what the caution sign is for, but it appears to be working.  This is exactly what I wanted to do. Thank you!
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

719 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