MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Database advice wanted 
Author Message
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 877
Location: Bristol, UK
Has thanked: 227 times
Have thanks: 166 times
Post # 287944
Post Database advice wanted
I maintain a number of databases for voluntary organisations which I need to transfer from Lotus Approach to an application which is more widely used. They are relatively small (up to about 3000 records) and have 3 to 5 tables each. The main databases are a membership application, and a concert booking application with invoicing.

LibreOffice Base would be an obvious choice for availability and portability, but I'm finding difficulty in getting started. I suspect I would have the same problem with any alternative. Most of the documentation and tutorials I can find spend a lot of time on basic design and writing queries, where I don't have much difficulty, and don't give much detail of complex linking (one table to 2 instances of another) or presentation of printed outputs.

I would welcome any suggestions for the application or pointers to better documentation.

Phil

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Tue Nov 08, 2011 8:51 am
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Mon Feb 12, 2007 1:45 pm
Posts: 4872
Location: Penn's Woods
Has thanked: 538 times
Have thanks: 398 times
Post # 287946
Post Re: Database advice wanted
I use MS Access mainly because it's compatible with the data bases my clients use, and it supports VisualBasic. It's also extremely easy to set up queries in Access by "connecting the dots" though the graphical interface. If you don't require those features, then Libre Office Base may be an acceptable, free alternative. However, I must admit that I haven't used Libre Office Base to know if it's a 1:1 replacement for Access, and I haven't found a comprehensive tutorial for L.O.B. to compare it with Access. My guess is that L.O.B. lacks some of the important features that Access provides.

However, using a full-blown data base program may be like using an atomic bomb to kill a gnat. If you don't really need a relational database to generate queries that link multiple tables, and if you don't need sophisticated report-generating capabilities, then maybe a simple spread sheet program may be all that's required.

_________________
SimplyMEPIS is SimplyTHEBEST
Mepis 8.5; 2.6.32-1-mepis-pae (Internal 2.6.32-12); 4GB RAM
2.4GHz AMD Athlon 4600+
NVidia GeForce 6150 LE; 304.51 Display Driver


Tue Nov 08, 2011 9:34 am
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 877
Location: Bristol, UK
Has thanked: 227 times
Have thanks: 166 times
Post # 287948
Post Re: Database advice wanted
Thanks, joany. I've never used MS Office applications - the cost of a version including Access was always more than I was prepared to spend. And getting away from Approach will almost let me cease Windows use altogether, so It's not really an option. I do need a relational database for both main applications, and I need one which makes it easy to print 1200 forms from the primary table.

I looked at a spreadsheet solution for the concerts application, but navigation through and sorting of a 70-sheet spreadsheet was just too cumbersome. I didn't even try to solve the printing problems. I think it has to be LO Base or similar.

Phil

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Tue Nov 08, 2011 9:55 am
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 6451
Location: Geneva NY
Has thanked: 1387 times
Have thanks: 1037 times
Post # 287953
Post Re: Database advice wanted
Have you thought about just MySQL with a GUI frontend of some kind? If on a Linux platform, there are a number of frontends available through the repos. For example, mysql-navigator:
Quote:
MySQL Navigator is a MySQL database server GUI client program. The purpose
of MySQL Navigator is to provide a useful client interface to MySQL
database servers, whilst supporting multiple operating systems and
languages. You can currently import/export database, enter queries, get
result sets, edit scripts, run scripts, add, alter, and delete users, and
retrieve client and server information.
Other possibilities in this post and the Comments: http://bit.ly/9RZIAI

_________________
A Wiki only works when many eyes are on it.

32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2


Tue Nov 08, 2011 10:18 am

Jerry3904 thanked by: Gaer Boy, joany
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 877
Location: Bristol, UK
Has thanked: 227 times
Have thanks: 166 times
Post # 287954
Post Re: Database advice wanted
@Jerry - I had wondered about MySQL, and I'll have a closer look at that. I would have a personal tutor to sort any problem - a colleague designed and produced our website using SQL and html - http://coursemeasurement.org.uk

Phil

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Tue Nov 08, 2011 10:32 am

Gaer Boy thanked by: joany
Profile
MEPIS Rules!
MEPIS Rules!
User avatar

Joined: Sat Aug 30, 2008 2:08 pm
Posts: 260
Location: Catalonia
Has thanked: 30 times
Have thanks: 62 times
Post # 287959
Post Re: Database advice wanted
If your databases are small enough (specially for the length of character fields, limited to 254 bytes) dBF can be a choice. My wife uses a database with about 30 field and > 3000 records on LibreOffice Base, based upon this dBF (xbase) structure.

The main point is: which are the export formats of Lotus Approach (csv, xbase, etc)?

If your requisites -now or in the future- are bigger, MySQL can be a good choice. If you need small footprint, try Firebird (RDBMS).

Kexi is a good and easy front-end for MySQL and other databases. Knoda was even more flexible, but seems that it is not longer maintained.

You can find both LO Base and Kexi on the MEPIS repos.


Tue Nov 08, 2011 11:21 am Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 6451
Location: Geneva NY
Has thanked: 1387 times
Have thanks: 1037 times
Post # 287961
Post Re: Database advice wanted
Kexi is nice, IF you are going to be on a Linux platform. If you are (staying?) on a Windows platform, you would have to install KDE for Windows to use it, I believe.

_________________
A Wiki only works when many eyes are on it.

32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2


Tue Nov 08, 2011 11:25 am

Jerry3904 thanked by: Gaer Boy
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 877
Location: Bristol, UK
Has thanked: 227 times
Have thanks: 166 times
Post # 287977
Post Re: Database advice wanted
Thanks, both - there's some interesting suggestions there, and I now have some reading and testing to do. It should keep me quiet for a bit.

I'm leaving Approach mainly because I'm one of the few that still use it, and the organisations are a lot younger than I am and likely to survive me. I need to leave something that others could use. If I no longer used Approach, I could almost get away from Windows - I would just keep a VBox installation of XP for my 2 GPS programs.

Approach can use and export a number of formats, but the current data is in dBase IV .dbf format. To illustrate the 2 databases I'm most interested in, here are screenshots of the relationship views.

This has 200 records in the Names table and about 300 in Order11. The 3 *11 tables will be replaced for next year.
Attachment:
concerts.png


This has 2800 records in the Person table (growing weekly) and 1100 in the U3A 2011 table. There are only 2 tables - Person1 and Person2 are 2 instances of the same table. The number of fields in these tables represents less than half the total used - the rest are calculated fields which Approach calculates on the fly. For transfer to another app, I can export the values of the calculated fields.
Attachment:
members.png


Field size is not a problem - none of the fields are over 100 characters.

I'll spend a while looking at the alternatives, and maybe come back with more questions.

Phil


You do not have the required permissions to view the files attached to this post.

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Tue Nov 08, 2011 1:15 pm
Profile
MEPIS is cool!
MEPIS is cool!
User avatar

Joined: Sat Jun 06, 2009 6:06 am
Posts: 877
Location: Bristol, UK
Has thanked: 227 times
Have thanks: 166 times
Post # 294063
Post Re: Database advice wanted
A couple of months later and I'm no further forward on this. It may be my preconceptions of what a database application should do - my only previous database work has been with Alpha 4 in DOS and Lotus Approach in Windows. Both these applications made it easy to handle calculated fields and design forms and reports, and I've failed to find anything equivalent.

Summarising the main requirements, I need a single standalone multi-platform relational database application to handle relatively small numbers of records. I would prefer to do the development work on Mepis, but the likely users would probably be using Win or Mac.

LibreOffice Base appears to fit the bill, but I can't find any help or tutorial on anything other than the basics. As far as I can see, there is no function to 'alias' a table so that it can be linked twice to another. Also, I can't find anything equivalent to a 'calculated field'. A simple example of the sort of use I need is creating a field 'John Smith' from fields 'John' and 'Smith'. The next stage is to combine 2 names to give the correct version of ' John & Anne Smith' or 'John Smith & Anne Brown'. The resulting fields are used in a number of forms and reports. Is there a way of doing this?

I also find designing a good-looking input form painfully slow. I seem to have to adjust the size of field boxes one at a time, when the same adjustment is needed for 6 fields. Is there any way around this?

As an example of what I'm after, this form took about half an hour to complete. It contains a sub-form with a number of calculated fields. It comes from the first application in my previous post.
Attachment:
database1.jpeg


Does anyone know whether what I want is achievable? Sorry to sound so plaintive, but I've spent many fruitless hours on this.

Phil


You do not have the required permissions to view the files attached to this post.

_________________

Asus M4A88TD-V EVO/USB3, Phenom II X2 550 BE (now X3), 8GB.
120GB Corsair SSD, ITB Samsung HDD, Mepis 11.9.70-64.


Sat Jan 21, 2012 3:49 pm
Profile
MEPIS Enthusiast
MEPIS Enthusiast
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 6451
Location: Geneva NY
Has thanked: 1387 times
Have thanks: 1037 times
Post # 294065
Post Re: Database advice wanted
The only guide I have used with some success is this one:

http://sheepdogguides.com/fdb/fdb1main.htm

The OOo Wiki is useless for Base. On the more complicated stuff: when in doubt, I try to do it the Access way and see what happens!

_________________
A Wiki only works when many eyes are on it.

32bit, 2.6.36-1-mepis-pae, KDE 4.6.5, AMD Phenom 9650 Quad-Core, Dell SP2309W with integrated webcam, Nvidia GeForce 6150SE, 4 GB DDR2


Sat Jan 21, 2012 4:13 pm

Jerry3904 thanked by: iridesce
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.