Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Database help

Author
Message
Dc GameMaker
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Somewhere in the midsts of Canada
Posted: 6th Nov 2003 00:53
I want to create a data base which i can add names,age,email to etc how would i go about creating one on darkbasic. In which i can add to it and veiw it in the same program. Can you point me in the right direction. Maybe a small amout of code as well.

thanks
Bishop
21
Years of Service
User Offline
Joined: 18th Dec 2002
Location: In my favorite chair...
Posted: 6th Nov 2003 02:53
use an array to save the data and then save the array, or display them as strings and save them that way.....hope i helped...

Bishop

"When you were born, you cried and the world rejoiced. Live so when you die, the world cries and you rejoice."
Dc GameMaker
21
Years of Service
User Offline
Joined: 24th Oct 2003
Location: Somewhere in the midsts of Canada
Posted: 6th Nov 2003 03:08
thanks, but how do you save arrays?
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 6th Nov 2003 03:08 Edited at: 6th Nov 2003 03:09
yes, arrays would most likely get the job done. Make sure you save the arrays (save array is the command i think) DB does not work with programs such as MySQL. Maybe it could be done in a .dll (hint hint gurus)

[edit] lol, we posted same time [/edit]

Got a knack for finding secrets??? Jingot Racing---A new brand of Racing---Only from Nightwatch Studios
"hey, it's tomorrow" - Hamish
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 6th Nov 2003 15:49
I've got a SQLite DLL that I think will work for DB 'Classic' - see my web site for the file & example code.

I would recommend that over the full SQL system (as that can be a pain to get working correctly - mainly due to connection strings).


Avatar & Logo by Indi. Insert witty comment here...

Login to post a reply

Server time is: 2024-11-10 22:53:38
Your offset time is: 2024-11-10 22:53:38