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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insert into cursor

Status
Not open for further replies.

bon011

Programmer
Jun 2, 2002
155
CZ
Hi all,

I need to insert a new record into cursor on the end.
But it is always not in the end, why????

In table the new record is in the end but in the cursor no.

Any Idea?
 
obviously our cursor is readwrite, so, the append blank should always take you at the bottom of the cursor.

Ali Koumaiha
TeknoSoft Inc
Farmington Hills, Michigan
 
As skoko hints at, if there is an active index on the RW cursor, then a new record will be added to the end of the cursor, but will "appear" to be where ever the index places it. You'll either need to create data that's logically "bigger" than the last record by setting the appropriate value(s) in the field(s) that the index uses, or use SET ORDER TO 0, and show the cursor in it's natural order.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top