Beruflich Dokumente
Kultur Dokumente
2. Set Default To Drive:Path <-- sets the default directory to the specified directory. A database
application is generally formed by many files. In order to avoid problems while learning FoxPro, it
is essential to place all of the files in an application in the same directory. Setting the default
directory should be one of the first things you do. Create the directory using Windows.
create FileName <-- create a new database file. The create command dumps you into the file creation
program where you are given the opportunity to determine the database structure/layout. You will select
field names, field types (Character, Logical, Date, Currency, Numeric, and Memo, etc.), and field size.
Create Client <-- create a database, called VFP9.0EINSTEIN2015 in the default directory.
<-- create a database, called EINSTEINDATA.DBF, You can establish the directory path, but it is much
better to set the default directory and allow all files to be automatically grouped together in this default
directory
Associated with each field will be a datatype. The datatypes that we will explore will be character,
numeric, logical, date, and memo. Select a datatype that best fits the type of information that you plan to
process. The character and numeric datatypes require that you specify the number of characters that are
to be stored. The Client.DBF has been created below.