TDBF lazarus / 16-Databases ---------------------------------------------------------------------- mizarra · 2005-05-17 13:29 Hi, I try to  use TDBF component, but when I run my project I got this message "PROJECT MYPROJECT RAISED EXCEPTION CLASS 'EXTERNAL: SIGSEGV'". How can I fix this, Thank P.D.: Sorry about my English ---------------------------------------------------------------------- matthijs · 2005-05-17 14:21 It is a bit hard to say from the information you give. When do you get this error? Try stepping through your sources to find out when this happens. ---------------------------------------------------------------------- Anonymous · 2005-05-17 19:29 I get this error when I try to read or write a field from my dbf file. I use MyDbfField.Value and MyDbfField is type TStringField, just like TTable component in Delphi, what is wrong? The documentation about TDBF component is very poor. When I can find information about this package? ---------------------------------------------------------------------- Marc · 2005-05-18 14:54 How (and where) did you declare and assign MyDBFied ---------------------------------------------------------------------- Anonymous · 2005-05-18 20:15 I declare MyDbFField in a DataModule and I assign MyDBFField in another Unit in the poject that use the unit DataModule. Is it wrong? ---------------------------------------------------------------------- matthijs · 2005-05-19 16:14 Could you post some relevant pieces of code, so we could have a look? If we continue like this we have to keep guessing and that usually is no good at all. ---------------------------------------------------------------------- Anonymous · 2005-05-19 21:23 Okey in the DataModule I declare: ...     TSinInfo: TDbf;     TSinInfoEMPRESA: TStringField;     TSinInfoRUTA: TStringField; ... where TSIninfo is my table and TSinInfoEMPRESA,TSinInfoRUTA  are the fields in my table. When I open the table in another unit, I do: ...   ruta :=ExtractFilePath(ParamStr(0));    DM.TSInInfo.FilepathFull := ruta;    DM.TSinInfo.Tablename := 'SinInfo.dbf';    DM.TSinInfo.Exclusive := True;    DM.TSInInfo.Open; .... It is Ok, but the the project crash when I do ...     DM.TSInInfo.Insert;     DM.TSInInfoEmpresa.Value := ENombre.Text; ... Just in the line DM.TSInInfoEmpresa.Value := ENombre.Text; I get the error message:  "PROJECT MYPROJECT RAISED EXCEPTION CLASS 'EXTERNAL: SIGSEGV'".  I hope that somebody can help me. Thank P.D.: Sorry about my english ---------------------------------------------------------------------- Anonymous · 2005-06-09 20:01 I knok what's wrong, I should use TDbf1.FieldByName('MyField').AsString := 'Whatever'; Instead Of DM.TSInInfoEmpresa.Value