[Lazarus] TDBF
Dians
diansopandi95 at gmail.com
Tue Dec 8 03:19:21 CET 2009
2009/12/5 Dians <diansopandi95 at gmail.com>
>
>
> 2009/12/4 Dians <diansopandi95 at gmail.com>
>
>
>>
>> 2009/12/4 Raistware <raistware at gmail.com>
>>
>> Dians escribió:
>>>
>>> dear all,
>>>> i have create a dbase file with Tdbf component, but when create a field
>>>> show some error like this
>>>>
>>>> ge_unit.pas(297,46) Error: Identifier not found "ftAutoInc"
>>>>
>>>> i have replace with ftstring or ftinteger , show same error , i have
>>>> follow the instructions on the web page, here the code
>>>>
>>>> Dbf1.Active := False;
>>>> dbf1.TableLevel := 7;
>>>> Dbf1.TableName := 'Test.dbf';
>>>> Dbf1.FieldDefs.Clear;
>>>> Dbf1.fieldDefs.Add('id',ftAutoInc,0,True);
>>>> Dbf1.fieldDefs.Add('Name',ftstring,30,True);
>>>> Dbf1.createtable;
>>>> is there something i missed..?
>>>>
>>> Sound as you forgive to add a unit in your uses clause, try with "Db".
>>>
>>> --
>>> _______________________________________________
>>> Lazarus mailing list
>>> Lazarus at lists.lazarus.freepascal.org
>>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>>
>>
>> yes, exactly , i have some advice from some web page , have to do add db
>> unit
>>
>> thank for attentions
>>
>>
> i have successed create dbf file , but when open with fox pro it's
> identified with not a table , is there something wrong with create it..?
>
>
>
dear all,
is there anyone have success create dbase / foxbase file with TDBF component
, i have created it but when open it with foxpro, it's identified with not a
table , anyone have got experiences..?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091208/cb1bbb90/attachment-0004.html>
More information about the Lazarus
mailing list