Problem with dbseek and dbrecread

Discuss PocketC for CE (including Desktop Edition)

Postby zombster on Fri Oct 26, 2001 7:41 pm

I tried to iterate through the contacts database using dbseek and dbrecread,
to get all email addresses.
The program terminates when calling dbseek(8,1) in a for loop.
It seems that there is a bug in the dbseek function.

There was a discussion about the same problem earlier.
They said it should be fixed in version 3.
I'm using version 3.01 and the problem still is there.

Is there any working method to iterate through a Database and get all property values?

Thanks Dirk.
Posts: 2
Joined: Fri Oct 26, 2001 7:32 pm

Postby maurub on Sat Dec 09, 2006 8:50 am

I have been using dbseek for a while and it seems it works fine so far. I recomend you to have into account the number of registers you have. Then you can use the following:
dbseek(2,#) where # is the number of register where you are going to look into for information. Later you can use:
dbrecpropval(@) where @ is the property of the record # where the information is stored.
Hope it helps you.
Posts: 17
Joined: Thu May 31, 2001 5:44 pm
Location: Mexico

Return to PocketC for CE

Who is online

Users browsing this forum: No registered users and 2 guests