Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.024 c
1-1104136529
Sash
2004-12-27 11:35
2005.01.16
excel


9-1096915359
Nightfire
2004-10-04 22:42
2005.01.16
Помогите с delphix


3-1102667724
galexis
2004-12-10 11:35
2005.01.16
Вопрос от недопонимания транзакций.


3-1103005982
Mefodiy
2004-12-14 09:33
2005.01.16
Пустой DBGrid при подключении к Oracle через dbExpress


3-1102788522
able
2004-12-11 21:08
2005.01.16
Окно подключения к базе..




   Наверх