I have a list of records within a category, say 5 total.

Now, I want to delete the 4th record, in this list, from the
database.  But that record is not at index 4 in the database, I
don't think.  It might be 20, or 40 or 100.

How do I find the index, to use in DmDeleteRecord?

I have looked at DmQueryNextInCategory but that would require
some kind of loop.  DmQueryNextInCategory (docs) suggest using
DmPositionInCategory but that returns the position in my list
assuming I know the index.  I already know the position in the
list it is the index I need to find.

Can someone help explain this?

Thanks


--
-----------------------------------------------------------------
Discussion Group:        http://www.halcyon.com/ipscone/wwwboard/

Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------

Reply via email to