![]() you can set the full path using the FilePathFull property.This simplifies making backups of the data. It's a good idea to give your application's database its own directory. In any event, we shall illustrate creating a new database in code below. You may also (on windows - works with wine too) try this application: As of now (July 2011), this process is still a bit convoluted.Īnother option is to use OpenOffice or LibreOffice Calc and save your spreadsheet as a. You could create a new data dictionary, then create code to set up DBF files based on the dictionary. There is a "Database Desktop" application for Lazarus (open the project in your Lazarus directory/tools/LazDataDesktop). Uses Dbf, db, Dbf_Common How to create a new database table Handy other units are db for DataSet support and Dbf_Common for things such as field type definitions. If you use FPC (console mode) only, you can put it there yourself. If you use the visual DBF components in Lazarus, Lazarus will put Dbf in your uses clauses. ![]() The TDbf works in both Windows and Linux using Lazarus. Simply drop the TDbf on your form and you have instant access to a cross-platform database environment. It does all of this without the need for additional libraries or database engines. ![]() It allows for reading, writing and creation of dBase III+, dBase IV, Visual dBase VII and FoxPro tables. The TDbf package provides access to dBase and FoxPro database tables for Lazarus (and others). In other words, no need to install anything if you have a fairly recent version of Lazarus. The DBFLaz package uses the TDbf and associated units in the Free Pascal Free Component Library. The DbfLaz package is installed by default in both FPC and Lazarus. This has been fixed in the FPC development/trunk version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |