Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
How i can to access to .DBF files from Lazarus?
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: How i can to access to .DBF files from Lazarus? (Read 5958 times)
klosll
Guest
How i can to access to .DBF files from Lazarus?
«
on:
November 12, 2003, 06:30:23 pm »
Hi :-)
I need to access to .DBF tables from Lazarus.
How i can do this?
Thanx :-)
Logged
Marc
Administrator
Hero Member
Posts: 2454
How i can to access to .DBF files from Lazarus?
«
Reply #1 on:
November 13, 2003, 12:12:51 pm »
AFAIK not (yet)
Logged
//--
{$I stdsig.inc}
//-Patches are always welcome at patch (at) dommelstein.net (please put the word "patch" in the subject)
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
klosll
Guest
OK about DBF access, but ... another question..
«
Reply #2 on:
November 13, 2003, 01:48:45 pm »
Thanx :-)
I find the MySQL access controls from Lazarus, but i need a simple sample for use this MySQL access.
Thanx :-)
Logged
Anonymous
Guest
How i can to access to .DBF files from Lazarus?
«
Reply #3 on:
November 14, 2003, 01:22:10 am »
I was not really successful - YET - with this MySQL stuff (components) in freepascal/Lazarus. It would be really helpful if someone could post some steps how to install/use it. The closest I've been is to receive some compilation errors during Lazarus/Mysql component compilation ...
Logged
kmoffat
New member
Posts: 9
How i can to access to .DBF files from Lazarus?
«
Reply #4 on:
November 16, 2003, 06:26:36 pm »
Do you have the mysql dev libs installed? (I haven't tried it but have seen this answered)
Logged
bracara
New member
Posts: 9
How i can to access to .DBF files from Lazarus?
«
Reply #5 on:
November 25, 2003, 10:07:59 pm »
The structure of dBase files is quite simple and it's fairly easy to write the code to access them. A couple of years ago when I thought Kylix 2 was the key to writing software in Linux, I started designing a set of components to access dBase IV files. I designed them in Delphi 1 and they work imperfectly under Delphi 1. Even started the documentation! :!:
I did test them (adapted to inherit from CLX components) under Kylix and was able to read and write to a dBase file with a test Kylix app. Unfortunately I appear to have lost the Kylix version but the 16 bit Delphi version can be downloaded from
http://www.lingua-z.co.uk/software/sdb.zip
.
It should be fairly simple to adapt the code to work under Lazarus. I just tried including sdb.pas in a Lazarus project and there are references to a few Win16 units which would need removing. The simplest thing would probably be to lift out the code which the TsdbTable component uses and access the datafile using its methods.
Let me know if it's any use.
Logged
mhess
Administrator
New member
Posts: 18
How i can to access to .DBF files from Lazarus?
«
Reply #6 on:
November 29, 2003, 05:43:34 pm »
It isn't exactly open source but maybe you can talk to the developer what his views are of using it with open source. The source code is available with it so it could be modified to be used with Free Pascal. I have used it successfully with Delphi.
http://www.softsci.com/topazp.htm
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
How i can to access to .DBF files from Lazarus?
Recent
ListBox Filter
by
lainz
[
Today
at 05:00:07 am]
BGRAControls
by
lainz
[
Today
at 03:10:41 am]
FPCUp FPC/Lazarus SVN ins...
by
lainz
[
Today
at 03:09:38 am]
What is this Delphi Heade...
by
DirkS
[
Today
at 12:11:59 am]
Build of SQLite3 for WINC...
by
bambamns
[
Today
at 12:09:01 am]
Lazarus crashes after “Re...
by
and4977
[May 20, 2012, 11:26:31 pm]
Scrambled dragimage
by
Ocye
[May 20, 2012, 10:30:19 pm]
Transparency with Qt on D...
by
Ocye
[May 20, 2012, 08:14:43 pm]
DragImage adds as new win...
by
Ocye
[May 20, 2012, 08:05:24 pm]
TFrame size
by
iru
[May 20, 2012, 07:03:22 pm]