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.

DarkBASIC Discussion / Creation of Database

Author
Message
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 2nd Sep 2004 15:46
hello people,
can someone please explain to me how to create a database with darkbasic classic? say that the database stores names and phone numbers. and can add,delete and modify. just show me the idea. i wont say no if there's some code
thankx in advance.

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 2nd Sep 2004 18:43
This should get you started. It was written for Pro, but a few modifications and you should get the idea.

http://www.thegamecreators.com/?m=codebase_view&i=b6c4a300eac7a575df83839971337184

"eureka" - Archimedes
D I G I T A L
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location: Dubai, UAE
Posted: 4th Sep 2004 16:27
ok, i did my database and everything. but i dont know how to do the "next,Back,first and previous" thingy. can someone show me how to do this.
thankx

SandraD
20
Years of Service
User Offline
Joined: 30th May 2004
Location: Down on the corner, out in the street.
Posted: 5th Sep 2004 05:22
The typical method is links, ie, each record has a pointer to the next one in line, or the one that came before it. When you add to or change the list, you simply change the pointers. This works for sorting too.

does this help?

Any truly great code should be indisguishable from magic.

Login to post a reply

Server time is: 2025-05-24 23:25:59
Your offset time is: 2025-05-24 23:25:59