Вниз
Скачать: 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
9-1096139660
Sphinx
2004-09-25 23:14
2005.01.16
RGB цвета


3-1102851825
aglar
2004-12-12 14:43
2005.01.16
Нумерация строк в DBGrid


14-1104084556
Vasya.ru
2004-12-26 21:09
2005.01.16
эх... Вспомнил свой первый компьютер... Ностальгия....


6-1098833714
SkyNet
2004-10-27 03:35
2005.01.16
UDP и множество сетевых интерфейсов


3-1102658538
StarCon
2004-12-10 09:02
2005.01.16
RecordCount не работает...




   Наверх