DataBases

BlitzMax Forums/BlitzMax Programming/DataBases

FBEpyon(Posted 2009) [#1]
Hello,

Been a while since I have posted here; I'm looking for more information about using some of the database modules, and I really don't know which ones I should use for my program i'm working on..

Tried:

TM.SQlite

BAH.Database

....

I guess my biggest question is how do you in TM.Sqlite do you find information that you have already put into the database. AKA test if it already excites...


GfK(Posted 2009) [#2]
AKA test if it already excites
You might need BAH.GiddinessMonitor for that. :)


FBEpyon(Posted 2009) [#3]
hmmm,

well I like TM better, sorry brucey; yours broke for me on v1.30

Well I just notice something its making a new file everytime I load my program; how you test if its already there...

what i'm trying to do is make a program for my company to track and look at employee stats and enter new ones..


Czar Flavius(Posted 2009) [#4]
The test excites me a lot!


Winni(Posted 2009) [#5]
I'm not sure if I understand your question correctly, but in theory you could simply run a SQL SELECT query; if the return set is empty, you know that the information is not yet in your database.

In any case, I think SQL and a working database table layout are your friends.