Tdbf lazarus / 16-Databases ---------------------------------------------------------------------- simac · 2009-10-24 14:29 Why my lazarus version for mac osx hasn't TDBF and others Data Access? It's normal or i must install some component? ---------------------------------------------------------------------- davesimplewear · 2009-10-24 22:07 Hi, the extra packages have to be installed, goto Package/Open Package File(lpk) navigate to your Lazarus/Components Folder find the TDBF folder and use the lpk file to install ---------------------------------------------------------------------- simac · 2009-10-25 10:52 Quote from: davesimplewear on October 25, 2009, 12:07:46 amHi, the extra packages have to be installed, goto Package/Open Package File(lpk) navigate to your Lazarus/Components Folder find the TDBF folder and use the lpk file to install Thank you very much!! But i've a problem: Code: [Select]Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.2.4 [2009/10/21] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Darwin for i386 Compiling dbflaz.pas Assembling dbflaz 21 lines compiled, 0.7 sec 2 hint(s) issued "Compiling package DBFLaz 0.1.1" completed Hint: Start of reading config file /etc/fpc.cfg Hint: End of reading config file /etc/fpc.cfg Free Pascal Compiler version 2.2.4 [2009/10/21] for i386 Copyright (c) 1993-2008 by Florian Klaempfl Target OS: Darwin for i386 Compiling lazdbexport.pas Compiling regdbexport.pp Compiling fpdataexporter.pp fpdataexporter.pp(23,26) Fatal: Can't find unit fpdbexport used by fpdataexporter Can you help me? EDIT 1:00:00 pm: Ok, now i've installed components. Thanks ---------------------------------------------------------------------- simac · 2009-10-25 13:12 Sorry, sorry!!! Now i've this problem: if i write in my project Code: [Select]Dbf1.Insert; for ex. in bitbtn1.Onclick, Lazarus shows the message: "Dataset is read-only". Properties Tdbf1 are correct --> ReadOnly: False Why?? Thanks (P.S.: i use Lazarus for MacOSX and work my project on Mac, tables .dbf used in my project are created on windows) ---------------------------------------------------------------------- Bart · 2009-10-25 21:08 You do have write access to the .dbf? Bart ---------------------------------------------------------------------- simac · 2009-10-25 21:15 I do not understand if the dbf is read-only or writing ... how do I watch? In Lazarus, properties Tdbf1 are correct --> ReadOnly: False ---------------------------------------------------------------------- mica · 2009-10-25 21:26 Quote from: simac on October 25, 2009, 10:15:50 pmI do not understand if the dbf is read-only or writing ... how do I watch? In Lazarus, properties Tdbf1 are correct --> ReadOnly: False http://www.gideonsoftworks.com/macosxprivileges.html Are you allowed to write to the dbf-file? ---------------------------------------------------------------------- simac · 2009-10-25 22:15 I think so... ---------------------------------------------------------------------- simac · 2009-10-26 09:34 Can someone help me?!? If it can be helpful, the databases were created with software under Windows, then I copied and pasted on mac. This might be the problem? (The privileges are rwx and i don't understand why the dataset doesn't write... )