Using TDbf component in Ubuntu Lazarus lazarus / 16-Databases ---------------------------------------------------------------------- dkjMusic · 2010-11-15 17:20 I am working thru the TDbf tutorial at http://wiki.lazarus.freepascal.org/index.php/Lazarus_Tdbf_Tutorial and am down to the code for creating fields in a new table: With MyDbf.FieldDefs do begin   Add('Id', ftAutoInc, 0, True);   Add('Name', ftString, 80, True); End; However, the compiler gives the following error messages: unit1.pas(42,24) Error: Identifier not found "ftAutoInc" unit1.pas(43,25) Error: Identifier not found "ftString" What gives? What do I do now? ---------------------------------------------------------------------- typo · 2010-11-15 17:35 Try to Find in Files each expression to know where it is declared. ---------------------------------------------------------------------- bonmario · 2010-11-15 17:37 Quote from: dkjMusic on November 15, 2010, 06:20:39 pmWhat gives? What do I do now? Add "DB" to the uses ... Hi, Mario ---------------------------------------------------------------------- dkjMusic · 2010-11-15 18:34 Quote from: bonmario on November 15, 2010, 06:37:52 pmQuote from: dkjMusic on November 15, 2010, 06:20:39 pmWhat gives? What do I do now? Add "DB" to the uses ... Hi, Mario Yep, that did it. Thanks. btw, how did you know the answer? ---------------------------------------------------------------------- bonmario · 2010-11-15 18:56 I've searched in a my project where i was using it !!! Hi, Mario