Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C-ISAM - How to deal with DUPS key

Status
Not open for further replies.

desb0

Programmer
Jul 13, 2005
4
0
0
CA
Hi,

I got the following C-ISAM problem. It's really simple but I can't go through.

I got the following C-ISAM database which have the following duplicate key -> name tab pos

name tab pos
xxx 1 1
xxx 1 2
xxx 1 3
xxx 1 4
xxx 1 5

I want to add 1 to pos for each record to have the following.

name tab pos
xxx 1 2
xxx 1 3
xxx 1 4
xxx 1 5
xxx 1 6

But because of the DUPS key, my ptr seems to get lost each time.

I try different combo with ISCURR, ISNEXT, ISGTEQ and ISREWRITE and ISREWCURR. But with no success.

Can someone help me here?

Thx a lot.

BD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top