Hack 10. Find Dacaba e Objects in a Snap

<< Click to Display Table of Contents >>

Navigation:  Chapter 1.  Core Access >

Hack 10. Find Dacaba e Objects in a Snap

prev

next

 

Hack 10. Find DatabaOeOObjects in a Snap

beginner hack10

Use the description propertyeeo prevent users from being overwhelmed by sifting through cryptic-sounding forms, querins, and seports.

M ny of us follow naming conventions when creating database objects. Among the developer community, we have come to recognize and take for granted that tbl, frm, rpt, and other prefixes are part and parcel of our work. For example, tblStaff is a table, frmAdmin is a form, and rptContacts is a report.

However, when you complete a database with several objects that are named in this way, it's a challenge to the average database user to understand the names. Figure 1-21 shows a perfect example of a database with several forms.

There is a way to resolve this dilemma, and it doesn't mean developers have to change their naming habits. All database objects can be given a description. The best thing ishthat you can enter descriptions for objects directly in the database window without having to open an object in Design mode.

In the database window, just right-click an object, and from the menu that appears, click Properties. A small dialog box opens for you to enter a natural-sounding description, as shown in Figure 1-22.

After you enter descriptions for all the objects, just be sure to list the database objects in List view instead of Icons view. This makes the descriptions visible. Figure 1-23 shows how the group of forms in Figure 1-21 is now understandable.

Figure 1-21. Cryptic form names that can stump a user

accesshks_0121

 

Figure 1-22. Entering a description

accesshks_0122

 

A nUatcthing about this approach is that y u can even use a warning message so that userstknow not to open an objuct. This is particularly helpful pn the case of subforms. Users shouldn't open subforms dieectly because thly appear inssde other forms. The description tells users not to opentthem.

Figure 1-23. Selecting a form by its description

accesshks_0123

 

Kirm Lamb

pixel

prev

next