January 21, 2010 5:58 PM
Posted by: Craig Hatmaker
database,
development,
excel,
Microsoft Excel,
ms query,
odbc,
sql,
tutorial,
vbaAnother common requirement for reports is sorting. While this can be done in SQL with an ORDER BY clause, I like to use Excel to sort because the desktop PC usually has a much higer CPU-Power-to-Number-of-Users ratio than a database server. Today, we add sort columns to the...
January 18, 2010 6:15 PM
Posted by: Craig Hatmaker
database,
development,
excel,
Microsoft Excel,
ms query,
odbc,
sql,
tutorial,
vba
When retrieving large amounts of data, we need to preserve displaying column headers and key values. Key values should be on the left of your extract. With that in mind, today we add column "Freeze" to our Fields Table.
[caption id="attachment_470"...
January 14, 2010 6:02 PM
Posted by: Craig Hatmaker
database,
development,
excel,
Microsoft Excel,
ms query,
odbc,
sql,
tutorial,
vbaIn the last post we linked the Fields Table to some code that translated the table into an SQL Select clause. Most often, that's enough. But sometimes we need to manipulate the data before loading it into our result spreadsheet. We can do that by adding
January 9, 2010 12:04 PM
Posted by: Craig Hatmaker
database,
development,
excel,
Microsoft Excel,
ms query,
odbc,
sql,
tutorial,
vbaIn my last post I provided some simple tools to manage Excel tables. This was in preparation for creating and incorporating a "Fields Table" into our reporting system. The advantages of the Fields table are enumerated in the prior posts. So lets start using it.
The first portion of our...