Newbie Database question.

Postby sheik on Mon Jan 26, 2004 10:43 pm

I am writing a time tracking program.I have to save all datas in a database(PilotDB).
My question:Everytime the program runs,does it have to load the entire database in an array(with a loop and Dgetrec(i,data) in order to have random access to these datas.Or it must go to the database everytime it needs a piece of data and fetch it with Dgetrec(recnum,data).

As 'recnum' can't be a variable,how do I know that a particular date correspond to such and such 'recnum' so as I can retrieve all datas stored on that particular date.

Thanks for any help.

Posts: 9
Joined: Fri Oct 10, 2003 9:16 pm
Location: France

Return to PocketC for Palm OS KB

Who is online

Users browsing this forum: No registered users and 1 guest