Database of type DBF


The database of type DBF is a standard database of versions dBaseIII, dBaseIV, dBaseV, dBaseVII, Clipper, FoxPro, VisualFoxPro.

The database of type DBF contains type fields:
  • Chracter - a line field;
  • Numeric - a numerical field;
  • Date - a date field;
  • Logical - a logic field;
  • Memo - a text field;
For creation of database DBF from the menu choose:
  • File
    • To create
      • DBF
The program will suggest to enter a name of a file of new base and parametres of the first field of new base.
In the opened window of parametres of a field enter "field Type", "a field Name" (only on Latin), "Length of a field" and quantity занков "After a comma".
After the termination of input of parametres of a field press OK.
For an insert of a new column in the menu the Table choose:
  • The table
    • To insert a column at the left
    • To insert a column on the right
    Вставка нового столбца будет сделана слева или справа от текущего столбца.
    For an insert of a new line in the menu the Table choose:
  • The table
    • To add a line above
    • To add a line more low
    Вставка новой строки будет сделана сверху от текущей строки, если выбрано "Добавить строку выше" или в конец базы, если выбрано "Добавить строку ниже".
    For removal of a column or group of the marked columns in the menu the Table choose:
  • The table
    • To remove a column ()
    Для удаления строки или группы помеченных строк в меню The table choose:
  • The table
    • To remove a line ()
    Для сортировки текущего столбца в меню The table choose:
  • The table
    • To sort by increase
    • To sort by decrease
    Для поиска или замены информации в базе, в меню Search choose:
  • The table
    • To search
    • To replace
    • The filter
    • The fast
    Для редактирования поля типа Memo, кликните дважды мышкой на поле Memo. Редактируйте поле. По окончанию редактирования, также кликните по открытому полю дважды мышкой или нажмите клавишу ESC.
    The information in database DBF can be stored in the ciphered kind. For this purpose in the menu Adjustment:
  • Parametres DBF
    • Enciphering
      • It is included
      • Method
        • XOR
        • GOST
      • Key
    Выберите пункт Включено (напротив него появится галочка). Выберите метод шифрования и введите ключ (пароль). Теперь при создании или открытии база данных, все поля базы будут храниться в зашифрованном виде. Будьте внимательны. Настоятельно рекомендую запоминать метод шифрования и ключ.

    For the inquiry - Structure of heading of file DBF:
    DBF FILE STRUCTURE 
    ~~~~~~~~~~~~~~~~~~
    
    BYTES DESCRIPTION 
    00	FoxBase +, FoxPro, dBaseIII +, dBaseIV, no memo - 0x03 
            FoxBase +, dBaseIII + with memo - 0x83 
    	FoxPro with memo - 0xF5 
    	dBaseIV with memo - 0x8B 
    	dBaseIV with SQL Table - 0x8E 
    
    01-03 Last update, format YYYYMMDD ** correction: it is YYMMDD ** 
    04-07	Number of records in file (32-bit number) 
    08-09	Number of bytes in header (16-bit number) 
    10-11	Number of bytes in record (16-bit number) 
    12-13	Reserved, fill with 0x00 
    14	dBaseIV flag, incomplete transaction 
            Begin Transaction sets it to 0x01 
    	End Transaction or RollBack reset it to 0x00 
    
    15 Encryption flag, encrypted 0x01 else 0x00 
            Changing the flag does not encrypt or decrypt the records 
    
    16-27 dBaseIV multi-user environment use 
    28	Production index exists - 0x01 else 0x00 
    29	dBaseIV language driver ID 
    30-31 Reserved fill with 0x00 
    32-n	Field Descriptor array 
    n+1	Header Record Terminator - 0x0D 
    
    FIELD DESCRIPTOR ARRAY TABLE 
    BYTES DESCRIPTION 
    0-10 Field Name ASCII padded with 0x00 
    11	Field Type Identifier (see table) 
    12-15	Displacement of field in record 
    16	Field length in bytes 
    17	Field decimal places 
    18-19	Reserved 
    20	dBaseIV work area ID 
    21-30	Reserved 
    31	Field is part of production index - 0x01 else 0x00 
    
    FIELD IDENTIFIER TABLE 
    ASCII DESCRIPTION 
    C Character 
    D Date, format YYYYMMDD 
    F Floating Point 
    G General - FoxPro addition 
    L Logical, T:t, F:f, Y:y, N:n?-not initialized 
    M Memo (stored as 10 digits representing the dbt block number) 
    N Numeric 
    P Picture - FoxPro addition 
    
    Note all dbf field records begin with a deleted flag field. 
    If record is deleted - 0x2A (asterisk) else 0x20 (space) 
    End of file is marked with 0x1A 
    


  • Яндекс цитирования

    Subscribe Subscribe.Ru
    The Family Tree of Family