1. Modify the structure: MODIFY STRUCTURE <Enter>.
2. Change the Purpose field width to 20 characters and the Comments field width to 23 characters. Your structure should resemble the following list.
1 PURPOSE Character 20
2 DATE Date 8
3 DAY Character 3
4 DES Character 15
5 EMPL Numeric 8 8 2
6 COMP Numeric 8 8 2
7 COMMENTS Character 23
3. Write the changed structure to disk: <Ctrl+W>.
4. Close the database and exit to DOS: QUIT<Enter>
ABOUT DATABASE PROGRAMS In this activity you used several database commands including CREATE, USE, MODI STRU, and QUIT. The power of your database program becomes apparent once you begin stringing a sequence of frequently used database commands together into a program file. Program files, sometimes called command files, are nothing more than a series of database commands that are created and saved using any ASCII text editor. Database program files use the file extension PRG
0 comments:
Post a Comment