Page 1 of 1

PostPosted: Mon Jan 26, 2004 10:43 pm
by sheik
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.