Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.01.16;
Скачать: CL | DM;

Вниз

Halcyon Create DBF   Найти похожие ветки 

 
Tomkat   (2004-12-13 12:42) [0]

Hi, мастера ! Скажите , кто делал на компоненте Halcyon экспорт в DBF ? .... интересует создание таблицы
Заранее спасибо


 
KSergey ©   (2004-12-13 13:15) [1]

Надо использовать компонент TCreateHalcyonDataSet

The CreateFields property contains the list of fields to be included in the new table.  Each field is a separate string in the TStrings object.  For each string, the field description format is:

fieldname;fieldtype;length;decimals

fieldname may be up to 10 characters.fieldtype is a single character [C,D,F,L,M,N]

length depends on the field type:  

Character   1-255  
Date   8  
Logical   1  
Memo   10  
Numeric 1-30
Decimals is 0 for non-numeric, number of decimals for numeric.

-----

CreateFields property example

The following example inserts four fields into the CreateFields property:  

with HCreateTable1 do
begin  
   CreateFields.Clear;
   CreateFields.Add("LASTNAME;C;20;0");

   CreateFields.Add("FIRSTNAME;C;16;0");
   CreateFields.Add("PAYMENT;N;8;2");
   CreateFields.Add("COMMENTS;M;10;0");
end;


 
Tomkat   (2004-12-13 14:10) [2]

ок, а инициировать создание файла с THalcyon Dataset или с  TCreateHalcyonDataSet ?


 
Tomkat   (2004-12-13 14:16) [3]

спасибо за совет, все получилось!!!



Страницы: 1 вся ветка

Текущий архив: 2005.01.16;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.027 c
1-1103893010
Dr. Genius
2004-12-24 15:56
2005.01.16
Упорядочивание файлов по дате их создания


1-1104325019
Aleksandr.
2004-12-29 15:56
2005.01.16
Люди, какая версия для Define у Делфи 2005?


11-1085131526
*Pavel
2004-05-21 13:25
2005.01.16
Есть ли в KOL e Application.Handle ?


1-1103920100
asd123123
2004-12-24 23:28
2005.01.16
Мне надо сохранять информацию


1-1104563793
Dr. Genius
2005-01-01 10:16
2005.01.16
Программу - в системный трей