It isn't worth the effort to track down an anomoly on obsolete code (providing the code you are trying to fix is running against a current generation database). You really need to employ Declare Cursor.
Mike ----- Original Message ----- From: "Laurence Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 17, 2001 8:15 PM Subject: WHILE exits in one pass > I've been chugging along happily using RBase for DOS since 1989 (Version 3.1 > I believe), and only now encounter this: > > Why should the error variable change from 0 and the WHILE loop exit after > the very first NEXT is executed? > > That is, after only one row is done of the many in the table that SET > POINTER is meant to process? > > When the IDENTICAL code operating on the IDENTICAL table is executed from a > different app file, it works fine! > > Larry Lewis > > ================================================ > TO SEE MESSAGE POSTING GUIDELINES: > Send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: INTRO rbase-l > ================================================ > TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] > In the message body, put just two words: UNSUBSCRIBE rbase-l > ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l
