Вниз
Скачать: 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.037 c
1-1104345661
GuAV
2004-12-29 21:41
2005.01.16
DllEntryPoint( .. DLL_PROCESS_DETACH .. ) => finalization ?


9-1096173815
Mitay
2004-09-26 08:43
2005.01.16
Как определить частоту звука?


14-1103881207
Ozone
2004-12-24 12:40
2005.01.16
Встреча в Тюмени (Тобольске)


14-1103810851
inic
2004-12-23 17:07
2005.01.16
Брутальный картридж :))


14-1103032206
Vlad Oshin
2004-12-14 16:50
2005.01.16
Вероятность. Задача с ответом Объясните мне как такое возможно.




   Наверх