Forget it - the code is ok, i made some stupid nonsense somewhere else. Werner Poschenrieder schrieb:
> Hi, > > I used the following code to always walk to the NEXT record in a given > Category and I am certain id did work. > > uiCat = CategoryFind(_PalmDatabase, pcCat); > > uiIdx = (UInt)_Position; > error = DmSeekRecordInCategory(_PalmDatabase, &uiIdx, 0, > dmSeekForward, uiCat); > if (!error) > if (_Position == uiIdx) // => Index was already on Category > try offset = 1 > error = DmSeekRecordInCategory(_PalmDatabase, &uiIdx, 1, > dmSeekForward, uiCat); > > With a certain database it seems to skip the next record and take the > one which comes after the next one, > i.e. when each record is in the cat, the index sequence of subsequent > calls is not 0,1,2 but 0,2,4... > > I did not make any of its records hidden. I checked the code again and I > do believe its okay. > Isn't it? If yes, what's the reason? > Thanks, Werner -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
