La base de données comme DBF


La base de données comme DBF présente d'elle-même la base de données standard des versions dBaseIII, dBaseIV, dBaseV, dBaseVII, Clipper, FoxPro, VisualFoxPro.

La base de données comme DBF contient les champs du type :
  • Chracter - le champ de ligne;
  • Numeric - le champ numérique;
  • Date - le champ de la date;
  • Logical - le champ logique;
  • Memo - le champ de texte;
Pour la création de la base de données DBF du menu choisissez :
  • Le fichier
    • Créer
      • DBF
Le programme proposera d'introduire le nom du fichier de la nouvelle base et les paramètres du premier champ de la nouvelle base.
Dans la fenêtre ouverte des paramètres du champ introduisez "le Type du champ", "le Nom du champ" (seulement sur latin), "la Longueur le champ" et la quantité занков "Après la virgule".
Après la fin de l'introduction des paramètres du champ appuyez OK.
Pour l'insertion nouveau столбца dans le menu le Tableau choisissez :
  • Le tableau
    • Insérer la colonne à gauche
    • Insérer la colonne à droite
    Вставка нового столбца будет сделана слева или справа от текущего столбца.
    Pour l'insertion de la nouvelle ligne dans le menu le Tableau choisissez :
  • Le tableau
    • Ajouter la ligne est plus haut
    • Ajouter la ligne plus bas
    Вставка новой строки будет сделана сверху от текущей строки, если выбрано "Добавить строку выше" или в конец базы, если выбрано "Добавить строку ниже".
    Pour l'éloignement столбца ou les groupes marqué столбцов dans le menu le Tableau choisissez :
  • Le tableau
    • Éloigner la colonne ()
    Для удаления строки или группы помеченных строк в меню Le tableau choisissez :
  • Le tableau
    • Éloigner la ligne ()
    Для сортировки текущего столбца в меню Le tableau choisissez :
  • Le tableau
    • Trier par l'augmentation
    • Trier par la diminution
    Для поиска или замены информации в базе, в меню La recherche choisissez :
  • Le tableau
    • Chercher
    • Remplacer
    • Le filtre
    • Le rapide
    Для редактирования поля типа Memo, кликните дважды мышкой на поле Memo. Редактируйте поле. По окончанию редактирования, также кликните по открытому полю дважды мышкой или нажмите клавишу ESC.
    On peut garder l'information dans la base de données DBF dans l'aspect chiffré. Pour cela dans le menu le Réglage :
  • Les paramètres DBF
    • Шифрование
      • Est inséré
      • La méthode
        • XOR
        • GOST
      • La clé
    Выберите пункт Включено (напротив него появится галочка). Выберите метод шифрования и введите ключ (пароль). Теперь при создании или открытии база данных, все поля базы будут храниться в зашифрованном виде. Будьте внимательны. Настоятельно рекомендую запоминать метод шифрования и ключ.

    Pour l'information - la Structure du titre du fichier 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