Free Newsletters:
DatabaseJournal  
DBANews
Database Journal
Search Database Journal:
 
HOME News MS SQL Oracle DB2 Access MySQL PostgreSQL PHP SQL Etc Scripts Links Discussion
internet.com

» HOME
» NEWS
» FEATURES
» SERIES
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Products
Scripts
Links
» DISCUSSION
» TECH JOBS

Marketplace Partners
Be a Marketplace Partner




internet.commerce
Be a Commerce Partner
Promotional Pens
Disney World Tickets
Web Hosting Directory
Promotional Golf
Web Design
KVM Switches
Online Universities
Home Improvement
Data Center Solutions
Shop Online
Memory Upgrades
KVM Switch over IP
Domain registration
Online Shopping




MySpace Joins eBay, Yahoo in Open Profile Push

News Corp. Unit Under Fire for Ties to Hacker

Are Non-PC Devices Hurting 'Net Innovation?

internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Linked Data Planet Conference & Expo

CA ERwin® Data Modeler Proven database design and modeling. Efficiently analyze, design and deploy effective database solutions. Whitepaper: Manage SQL Server Deployments
Try it free: CA ERwin® Data Modeler


Guide to Oracle 11g and Database Migration
Oracle Database 11g includes more features for self-management and automation, which makes it easier for customers to cost-effectively manage their data. Download this Internet.com eBook for an overview of some of the new features in 11g and for an overview of the issues you need to consider as you prepare for a database migration. »
Innovate Faster with Oracle Database 11g
Read this in-depth analysis of 56 customers, which shows significant differences between the value software vendors Oracle and SAP deliver to midsize companies. »
Oracle Business Intelligence Standard Edition One
Find out how Newport Beach, CA-based Mobilitie is shaking up the telecom industry by leveraging technology to provide an entirely different financial model for deploying, upgrading, and owning wireless and wireline network assets. »
Business Intelligence and Enterprise Performance Management: Trends for Emerging Businesses
Quickly implementing an ERP software solution can be of tremendous benefit; however, companies often struggle to balance the benefits of reducing implementation time and cost with the risks of an accelerated deployment. Read this white paper to learn about easy-to-follow best practices for achieving a successful accelerated implementation. »
Making the Case for Oracle Database on Windows
Users benefit as vendors reduce enterprise complexity and deliver integration. »

Production Manager (hands on)
Aquent
US-MA-Cambridge

Justtechjobs.com Post A Job | Post A Resume
MS Access
June 5, 2003
MS Access for the Business Environment: Create a Calculated Field with the Expression Builder
By William Pearson

About the Series ...

This is the first article of the series, MS Access for the Business Environment. The primary focus of this series is an examination of business uses for the MS Access relational database management system. The series is designed to provide guidance in the practical application of data and database concepts to meet specific needs in the business world. While the majority of the procedures I demonstrate will be undertaken with Access 2002, many of the concepts that we expose in the series will apply to numerous versions of MS Access.

As we progress through the series, we will build upon previous lessons and the concepts we have introduced therein, in many cases. However, one of my objectives is to make each lesson as "standalone" as possible, in an attempt to prevent cases where one cannot complete a given lesson without having components or objects that were created in previous lessons. This should make it easier for "casual" visitors to join us with any lesson, and still successfully complete that session, given an existing understanding of concepts and principles that we have accumulated up to that point.

To get the most out of the MS Access for the Business Environment series, you will need to have installed MS Access 2002, although, again, the majority of the concepts we take up will certainly apply to earlier versions. Make sure that the PC that you plan to use meets the system requirements, including hardware and operating systems, of MS Access, as well.

Introduction to this Tutorial

This tutorial will introduce calculated fields in MS Access. We can use calculated fields both in queries and tables; here, we will focus upon their creation and use in general. This lesson will include:

  • A brief introduction to calculated fields;
  • An introduction to the MS Access Expression Builder;
  • A practical walkthrough of the process of creating a calculated field.

Let's begin by discussing the reasons we might want to create a calculated field and how such a component can help us to extend the power of our Access databases.

Introduction to Calculated Fields

Many occasions arise in the design of a database where calculated fields are useful. The most common scenario surrounds fields that contain derived data--that is, fields that are made up of data that already exists elsewhere in the database. An example might be the net price of a product that an organization sells, after discounts. A table under consideration might house the retail price and the discount information, but the net price, or retail price less the discount, is a derived amount. We can more efficiently meet a business need for the net price by installing a calculated field that would provide the information as needed.

Using the Expression Builder to Create Calculated Fields

Let's open the Northwind sample database, and begin by creating a rudimentary calculated field. We will use the Expression Builder, which can often assist us in the creation of expressions when we are learning about expressions, and perhaps Access, in general. We could also enter the expressions directly, if we were certain of the syntax required and how to add it, but for now, we will use the Expression Builder.

We will start Access and proceed, taking the following steps:

1. Go to the Start button on the PC, and then navigate to the Microsoft Access icon, as shown in Illustration 1.


Illustration 1: The Microsoft Access Icon from the Start Menu

2. Click the icon to start Access.

Access opens, and, depending upon whether you have opened it before, may display an initial dialog. If so, close it.

3. Select File -> Open from the top menu, and navigate to the Northwind sample database (the file might also be accessed from the Open a File menu atop the task pane, if it has not been disabled previously, at the right side of the main window in Access 2002.)

4. Select Northwind.mdb, closing the splash screen if it appears.

The main switchboard appears as shown in Illustration 2.


Illustration 2: Inside Access, Northwind Main Switchboard

5. Click the Display Database Window, or get there by an alternative approach.

We arrive at the Database Window, which appears as depicted in Illustration 3.


Illustration 3: Inside Access, Northwind Main Switchboard

Go to page: 1  2  3  4  Next  

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS Access Archives

Data Sheet: IBM Information Server Blade
IT in 2018: Download Free eBook By The Author Of "Does IT Matter?" Simple Registration Is Required.
Download: SQL Backup & DBA Best Practices eBook.
Download: SQL Backup & DBA Best Practices eBook
Learn Tools & Techniques to Justify and Fund Your IT Investments. Download Complimentary Report Now!


Latest Forum Threads
MS Access Forum
Topic By Replies Updated
Export a report into excel Irina_5220 4 May 9th, 01:50 PM
Table Property Question barlowr70 0 May 6th, 10:51 AM
Compile MS Access Database samson 1 May 1st, 03:28 AM
How to connect MS-Access with c++ rockys111 0 April 30th, 01:36 AM







JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES