Главная страница
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.048 c
14-1103739221
Константинов
2004-12-22 21:13
2005.01.16
Поделитесь впечатлениями от комбайна сканер+принтер+копир


14-1104159876
Alexander Panov
2004-12-27 18:04
2005.01.16
Оранжевая зараза уже в России.


4-1101156103
Yanis
2004-11-22 23:41
2005.01.16
Console window


8-1096733091
CyberPank
2004-10-02 20:04
2005.01.16
плагин к Winamp


1-1103950307
Progh
2004-12-25 07:51
2005.01.16
Работа с ListView