PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Need database/graphics/statistics program with form editor

Hi,

I'm needing to develop a database application for my Pocket PC that incorporates more than just database functions. The application's primary purpose will be associated with a database (for logging data), but I will also need to frequently build graphs and calculate various statistics (mean, standard deviation, etc) for subsets of the data. The ability to create a stand-alone application would be nice, as would relational database features.

I've tried SprintDB from Kaione Soft., but advanced calculations are difficult, and there's almost no support for graphics functions. Additionally, it takes a long time to open a really huge database (5,000-20,000) records. I've been evaluating Visual CE from Syware, but the application is really expensive, and I'm not sure I want to (or can) pay for something so expensive when it's going to initially be just for me. Eventually I might be distributing the application (selling it), but that's a ways down the road.

Considering my needs for development of software more complicated than just strictly database functionality, I'm now looking at more general programming environments, and stumbled on both PPL and NSBasic. I haven't looked at either of them yet: before I do, I want to make sure that I'm not starting a fruitless endeavor. NSBasic is too expensive for me, so that narrows things to PPL...

I need the following:
-database functionality (programming of databases)
-ability to make plots and graphs of subsets of data
-ability to compute statistics on subsets of data
-possible syncing of data to the desktop
-ability to program on the PPC, as I'm not near my desktop very often.

Tell me, would PPL meet my needs?

Thanks,
Phillip
Thanks for your interest in PPL.

PPL is a great tool, it should give you what you need.

-database functionality (programming of databases)

SQLite is in PPL.

-ability to make plots and graphs of subsets of data

This is possible in a form.

-ability to compute statistics on subsets of data

No problem.

-possible syncing of data to the desktop

I plan on a RAPI library after the official release.

-ability to program on the PPC, as I'm not near my desktop very often.

This is one of PPL's strenght over other tools.

Plus PPL is really fast and more advanced compared to the other tools you have mentionned. NS/Basic might have easier form creation tool and ActiveX programming though.

PPL is brand new even though it has been in development for 2 years now. NS/Basic has been around for almost 10 years. With some more time, imagine what PPL can do.
SQLite is in PPL.


But not the ability to open .cbd (Pocket Access) files?

If not, I may need to convert the .cdb files I have to SQLite.

Downloaded and installed PPL already :).

Phillip
Anonymous wrote:
SQLite is in PPL.


But not the ability to open .cbd (Pocket Access) files?

If not, I may need to convert the .cdb files I have to SQLite.

Downloaded and installed PPL already :).

Phillip


Can't we open Pocket Access databases with ADOCE? If so PPL supports it. I have an example project that one of PPL's user started to work on. I don't know if he actually finished it but it can serve as a great start for your project.

PointOfLight can certainly help you with this question, he worked with ADOCE before.
PointOfLight · 04 Apr 2006, 18:20 UTC
As far as I know, .CDB (Pocket Access) is the only thing accessible (pardon the pun) through ADOCE. I had started writing an ADOCE browser in PPL quite some time ago. I don't remember how far I got, but it was actually pretty nice (not trying to blow my own horn or anything). If this is something you plan on migrating to devices that work with WM5 and beyond, though, you might want to strongly consider SQLite, as ADOCE support appears to be shaky in WM5 and non-existent in devices down the road beyond WM5.

Also, I should add that currently SQLite support in NSBasic/CE is limited to v2.8.x (the old version) of SQLite, so even if you decided to start with ADOCE and migrate to SQLite later, you won't be able to use the latest and greatest version of SQLite unless you want to write your own ActiveX control for it.
Can't we open Pocket Access databases with ADOCE? If so PPL supports it. I have an example project that one of PPL's user started to work on. I don't know if he actually finished it but it can serve as a great start for your project.


You're right...I just didn't do my research before posting. Sorry!

Thanks for your post, too, PointOfLight :).

Phillip
PointOfLight · 04 Apr 2006, 23:51 UTC
No problem. I'm always here to help, because it sure beats working :D
Kornalius wrote:Can't we open Pocket Access databases with ADOCE? If so PPL supports it. I have an example project that one of PPL's user started to work on. I don't know if he actually finished it but it can serve as a great start for your project.


Could you send me that file? Send it to phendrics (at) hotmail. A starter would be helpful :)

PointOfLight wrote:As far as I know, .CDB (Pocket Access) is the only thing accessible (pardon the pun) through ADOCE. I had started writing an ADOCE browser in PPL quite some time ago. I don't remember how far I got, but it was actually pretty nice (not trying to blow my own horn or anything).


Would you also mind sending me your file? It would be helpful to see someone else's coding to give me an idea of how to do what I need to do.

Thanks,
Phillip
PointOfLight · 09 Apr 2006, 01:56 UTC
Phillip,

I just wanted you to know that I was not ignoring your request. I just wanted a chance to test my program before I sent it off to you, and this is the first chance I've had to test it. The problem is that there have been enough changes to PPL since I first wrote the program that it no longer works. I will get it fixed up, but it might take me a couple of days between other things. Thanks for your patience, and in the mean time I'd suggest playing around with PPL just to get your feet wet.
Eric,

Not a problem about the delay - I'm a student, so don't have tons of free time myself. :)

I found a thread where you had posted an old version of your brower, so I know that it doesn't work. However, just to review my C programming skills (that's the only CS class I've taken so far, and that was 4 years ago), I've written a simple library to calculate sample statistics on an array of data. It's small and not impressive, but it works, and has given me some of the review I needed. Plus, I will need it for the application I want to write.

About ADOCE, some more documentation about how it's implemented in PPL would be helpful - the resources on MSDN are somewhat helpful, but syntax and implementation is somewhat different (from what I can tell) in PPL than it is in Visual Studio. Thus, examples will be helpful.

The first part of my project will be to add onto an existing CE database (I already have one developed in SprintDB, but it's huge - ie, takes a really long time to open - it has no plotting capabilities, and it's not very good for programming non built-in mathematical functions). What I want to do is to write a program to open an existing database, extract some pertinant data, calculate statistics on it, and write it to another table.

Once that's working, then I'll get my feet a little more wet.

Thanks for your help, though - it's nice to have other people who know what they're doing be willing to help you. :)

Phillip

PointOfLight wrote:Phillip,

I just wanted you to know that I was not ignoring your request. I just wanted a chance to test my program before I sent it off to you, and this is the first chance I've had to test it. The problem is that there have been enough changes to PPL since I first wrote the program that it no longer works. I will get it fixed up, but it might take me a couple of days between other things. Thanks for your patience, and in the mean time I'd suggest playing around with PPL just to get your feet wet.