PRB: Natural Order of STATES.DBF Not Completely Alphabetic

ID: Q112087

The information in this article applies to:

SYMPTOMS

When you are viewing the STATES.DBF table in its natural order (no tag used), the states are listed in the alphabetic order of their full names, with the exception of New Jersey and Arkansas.

CAUSE

The FULLNAME tag is not in use.

RESOLUTION

After opening STATES.DBF, set the FULLNAME tag in one of the following ways:

STATUS

This behavior is by design.

MORE INFORMATION

The STATES.DBF table is provided in all versions of FoxPro. It lists the abbreviations and full names of all the states in the U.S.

In FoxPro for Windows and Macintosh, STATES.DBF is located in the <FoxPro_directory>\SAMPLE\ORGANIZE\DBFS subdirectory. In FoxPro for MS-DOS, it is located in the <FoxPro_directory>\SAMPLE\DBFS subdirectory.

Because all the state records are naturally in alphabetic order except for New Jersey (second to last) and Arkansas (last), it is easy to overlook setting the tag.

Additional reference words: FoxMac FoxDos FoxWin 2.50 2.50a 2.50b nj ar database KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995