Posts Tagged ‘Access’

Formatting Access Queries to the Thousands Place

October 24th, 2011

In an Email last week, Christina asks:

“Do you know of an easy way to show Access query results in thousands?
Thanks DataPig.You are the like that black bird on Angry Birds – the bomb.”

Ok….so I added that last sentence. But Christina did ask a pretty good question.

.

Here’s how you can format Access query fields so that they show as thousands.

.

You first start with a working query. As you can see, this query shows revenue by market with an indication of how much of that revenue comes from Internet Sales. You’ll notice that the revenue columns inundate you with lots of numbers. That is to say, the revenue columns are difficult to read. Showing these columns in thousands would help readability.
» More: Formatting Access Queries to the Thousands Place

Replacing the Microsoft Access Splash Screen

May 2nd, 2011

Many of us have created Microsoft Access applications which are used every day in professional environments. And we all strive to have those applications to look as professional as we can get them. Given all the work we do to give our Access applications a professional look and feel, it is a bit annoying to see the Microsoft Access splash screen pop up each time we open the application.

» More: Replacing the Microsoft Access Splash Screen

Exorcizing Microsoft Office

March 16th, 2011

The other day, a co-worker of mine lost the ability to send an email from Excel. You know…Office button -> Send -> E-mail.

He used to be able to do this, but for some reason, things went all wonky and now he can’t. I guess sometimes Microsoft Office gets a bug up its butt and starts acting possessed.

.

The good news is that Microsoft comes with its very own Father Merrin who can exorcize Office, returning it to the happy little girl it usually is. Yes…Microsoft Office is a girl.

.

Microsoft Office comes with a built in tool called Diagnostics (or Detect and Repair). This tool is designed to (according to Microsoft):   “solve some problems directly and might identify ways that you can solve other problems.”

» More: Exorcizing Microsoft Office

Capture a User’s Domain\UserName

February 28th, 2011

When developing your Excel or Access application, it’s not uncommon to need to capture your user’s domain/username for one reason or another. A user’s domain/username combination is the traditional unique identifier for a user - often captured by programmers to do things in like:

  • Help manage user login and permissions
  • Create a history of who used the application
  • Capture the name of each user who made the changes to data
  • Personalize outputs and program messages for users

.
There are literally half a dozen ways to capture a user’s domain name and user name. In this post, I’ll give you a very easy method using the Environ function.

. » More: Capture a User’s Domain\UserName

Changing Sort Order of Access Crosstab Headings

February 14th, 2011

By default, Access Crosstab queries sort their column headings in alphabetical order. This is becomes a real drag when you’re struggling to show months in month order instead of alphabetical order.

.

This screenshot shows the mess that comes from running a Crosstab with month columns. According to Access, April is the first month of the year.
» More: Changing Sort Order of Access Crosstab Headings

Using Flash Progress Indicators

February 3rd, 2011

Besides being an Excel and Access guru, I moonlight as an Xcelsius expert. Because Xcelsius is so closely tied to Excel, I’ve always seen Xcelsius as an extension of the Excel BI stack. But that’s a conversation for another time.

.

A while ago, Ryan Goodman created and posted a few Flash progress indicators on his Xcelsius blog. These are Flash .swf files designed to be used as loaders for Xclesius dashboards.

Â

.

I recently had an opportunity to work on a project where I could implement these loaders into an Excel dashboard as progress indicators – a lazy man’s progress bar if you will.
» More: Using Flash Progress Indicators

Create a Keyboard Hot Key to Start Excel or Access

December 28th, 2010

Are you constantly opening Excel and Access?

Why use your mouse to click on the Excel or Access icon?

Why not create a keyboard hot key?

. » More: Create a Keyboard Hot Key to Start Excel or Access

Creating Access UDFs that Accept Arguments

November 4th, 2010

This week, I showed you how to Create and Use your own Access User Defined Functions (UDFs). Today, I’d like to take that one step further and show you how to create an Access UDF that accepts arguments.

  » More: Creating Access UDFs that Accept Arguments

Creating and Using User Defined Functions in Access

November 2nd, 2010

We haven’t had an Access post in a while, so today, I’ll show Access some love.

We all know that we can create our own User Defined Functions in Excel. Well, did you know you can also create and use your own User Defined Functions in Access?

  » More: Creating and Using User Defined Functions in Access

Use Windows Authentication for your Excel and Access Applications

October 20th, 2010

I’m fresh from the DataPig Power Analyst Bootcamp.  As usual, it was a blast.  I’d like to give a shout out to Earl who taught me more than I really need to know about the chicken breeding business (he works for a company called Aviagen).

 

Anyway, during the bootcamp, someone asked how they can work windows authentication into their Excel or Access application.  It just so happens that I have a hack for that!

  » More: Use Windows Authentication for your Excel and Access Applications