IT tutorials
 
Office
 

Microsoft Access 2010 : Customizing Fields - Indexing Field Values, Validating Data Entry

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Product Key Free : Microsoft Office 2019 – Serial Number
6/1/2013 9:27:36 PM

1. Indexing Field Values

When you create an index of a field’s values, Access 2010 maintains an internal record of the values in a field, which the program can then use to find table records with specific values. Access 2010 always keeps an index of a table’s primary key field’s values.

Create an Index

  1. Open a table in Design view.

  2. Click the field to index.

  3. Click the Indexed property name.

  4. Click the Indexed down arrow.

  5. Click either Yes (Duplicates OK) or Yes (No Duplicates).

    Create an Index

Try This!

Open the Northwind sample database, click Tables on the Objects bar, double-click Products, and then click Design. Click any cell in the ProductName row of the design grid, and then click Indexed in the Field Properties section. Click the down arrow that appears and then click Yes (No Duplicates). This change requires every new product entered into the table to have a unique name. This specific change works for Northwind, which carries unique products, but may not work for a business that buys common items from more than one supplier.

Tip

Indexes work best in fields with lots of different values. In large tables, indexing the values in commonly used fields lets Access 2010 find what you’re looking for quickly.

Caution


Access 2010 updates all its indexes every time you add or update a table record. Creating unneeded indexes can greatly slow down data entry, especially on older systems.

2. Validating Data Entry

Some categories of data, such as credit limits or the date someone joined a club, have to meet certain criteria. You can make sure data entered into fields meets those criteria (for example, all credit limits are $5,000 or less) by performing data validation. When a user tries to enter data that isn’t appropriate for the field, you can display a message letting the user know what went wrong.

Perform Data Validation

  1. Open a table in Design view.

  2. Click the field for which you want to validate data entry.

  3. Click Validation Rule.

  4. Click the Build button.

  5. Create the validation rule in the Expression Builder.

  6. Click OK.

    Perform Data Validation

Set Validation Text

  1. Open a table in Design view.

  2. Click the field to which you want to assign validation text.

  3. Type your validation text in the Validation Text box.

    Set Validation Text

Tip

You can type your validation rule, such as <=5000, directly into the Validation Rule box.

 
Others
 
- Microsoft Access 2010 : Customizing Fields - Assigning Required Fields and Requiring Data Entry, Setting Default Values
- Microsoft Access 2010 : Customizing Fields - Formatting Field Contents, Creating Input Masks
- Microsoft Visio 2010 : Working Around the Diagram - Using Visio Windows
- Microsoft Visio 2010 : Working Around the Diagram - Using Themes to Change the Look of Pages and Documents
- Microsoft Project 2010 : Working with Resources (part 2) - Grouping Resources, Filtering Resources
- Microsoft Project 2010 : Working with Resources (part 1) - Setting the Automatically Add New Resources and Tasks Option, Sorting Resources
- Microsoft PowerPoint 2010 : Working with Animation and Transitions - Customizing Animations on the Animation Pane
- Microsoft PowerPoint 2010 : Working with Animation and Transitions - Applying Animation to Objects
- Microsoft Excel 2010 : Collaborating with Colleagues - Protecting Workbooks and Worksheets
- Microsoft Excel 2010 : Collaborating with Colleagues - Tracking and Managing Colleagues’ Changes
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
Technology FAQ
- Is possible to just to use a wireless router to extend wireless access to wireless access points?
- Ruby - Insert Struct to MySql
- how to find my Symantec pcAnywhere serial number
- About direct X / Open GL issue
- How to determine eclipse version?
- What SAN cert Exchange 2010 for UM, OA?
- How do I populate a SQL Express table from Excel file?
- code for express check out with Paypal.
- Problem with Templated User Control
- ShellExecute SW_HIDE
programming4us programming4us