Macro Design in Access 2010...

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Macro Design in Access 2010...

Post by Rudi »

Hi,

Playing around in Access 2010, I noticed the way to design macros has been modified. Thought I'd just share this screen clip to show the new interface... I think it looks great and makes macro design more interactive and logical. Great work Microsoft!
You do not have the required permissions to view the files attached to this post.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78622
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Macro Design in Access 2010...

Post by HansV »

The Access developers have decided to make macros more powerful and easier to design. See for example the first installment of The Access Show: Access 2010 demo of Access Services and web databases (warning: long video!)

While this is a nice improvement over the rather spartan interface for designing macros in earlier versions, I'm not convinced that macros can take the place of VBA code. I think detailed control over execution flow will still require VBA.
Best wishes,
Hans

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Macro Design in Access 2010...

Post by Rudi »

>> I think detailed control over execution flow will still require VBA.

I agree. VBA provides more flexibility and control (just like SQL does compared to the Access query designed interface), but for novice users of Access, it does help to provide a "cleaner" and more user-friendly way to assist in setting up basic macros.

Cheers
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78622
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Macro Design in Access 2010...

Post by HansV »

You might call me old-fashioned, but I don't really like the idea of having two separate programming tools in Access: macros and VBA...

Instead of spending a lot of energy on improving the macro design interface, the developers could have improved the Visual Basic Editor by adding easy-to-use building blocks, such as:

- A complete Select Case ... End Select block
- A block that opens a recordset, loops through the recordset and finally closes it

etc.
Best wishes,
Hans

Mark L
3StarLounger
Posts: 331
Joined: 11 Feb 2010, 03:55
Location: Land O Lakes, FL

Re: Macro Design in Access 2010...

Post by Mark L »

HansV wrote:You might call me old-fashioned, but I don't really like the idea of having two separate programming tools in Access: macros and VBA...

Instead of spending a lot of energy on improving the macro design interface, the developers could have improved the Visual Basic Editor by adding easy-to-use building blocks, such as:

- A complete Select Case ... End Select block
- A block that opens a recordset, loops through the recordset and finally closes it

etc.
Yeah, but if they made it too easy, then anyone could do it! Then where would we be?
Mark Liquorman
Land O Lakes, FL
see my website http://www.liquorman.net for Access Tips and Tricks, and for my Liquorman Utilities.

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Macro Design in Access 2010...

Post by Rudi »

Interesting ideas...(of which I do agree). Not that I program in Access often, but it would be great in Excel too! :)

I can see that you speak from a developers/programming perspective. But I do think that many out there who do not have VBA programming experience will appreciate the new interface and the assistance it will provide in automating those small repetitive and mundane tasks in Access.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78622
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Macro Design in Access 2010...

Post by HansV »

You're opening a can of worms there - should Access be positioned as a developer tool or as an end-user tool... :flee:
Best wishes,
Hans

User avatar
Wendell
4StarLounger
Posts: 482
Joined: 24 Jan 2010, 15:02
Location: Colorado, USA

Re: Macro Design in Access 2010...

Post by Wendell »

That's the dilema the Access team has faced from early on. The marketing guys want to sell lots of copies, so they want to pitch it as an end-user tool, but the development community sees it as a tool to develope end-user applications. So who do they try to please most????
Wendell
You can't see the view if you don't climb the mountain!

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: Macro Design in Access 2010...

Post by Rudi »

HansV wrote:You're opening a can of worms there - should Access be positioned as a developer tool or as an end-user tool... :flee:
The answer is simple :grin:

Access is an application that comes with the Professional Office Suite. So, just like Word and Excel, it should be seen as an Application for the end-user. There are so many larger DB's out there and even Transac SQL that can satify the development and programming community. Access should be seen as an end-user application that provides the best front-end with some basic roots into the macros and vba side of things just to enable some form of data manipulation.

Thats my "very informed" 2 cents contribution!
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
HansV
Administrator
Posts: 78622
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Macro Design in Access 2010...

Post by HansV »

And that's why we see so many horrible databases that violate all the rules for data and interface design... :hairout:
Best wishes,
Hans

User avatar
Wendell
4StarLounger
Posts: 482
Joined: 24 Jan 2010, 15:02
Location: Colorado, USA

Re: Macro Design in Access 2010...

Post by Wendell »

Rudi wrote: ...
Access is an application that comes with the Professional Office Suite. So, just like Word and Excel, it should be seen as an Application for the end-user....
:evilgrin:
If that's the case why the "Professional" designation? :grin: And while there are powerful database engines, and expensive and complex applications available to create front-ends to the data your store, Access is the most effective and inexpensive application for doing most kinds of database front-end development. Also I have to agree with Hans that it has led to some of the lamest DB designs I've seen. On the other hand, some of those do actually work, and provide useful information that would have never even been attempted had Access not been available. :scratch:
Wendell
You can't see the view if you don't climb the mountain!