Re: Foxpro goto command and deleted records

Discussion in 'Python' started by Ethan Furman, Jul 18, 2012.

  1. Ethan Furman

    Ethan Furman Guest

    Ian Kelly wrote:
    > On Tue, Jul 17, 2012 at 4:57 PM, Ethan Furman <> wrote:
    >> In Foxpro if you do a
    >>
    >> GOTO 7
    >>
    >> with deleted off and record 7 is deleted, the record pointer doesn't
    >> move (at least in version 6).
    >>
    >> I don't like that.
    >>
    >> I see four other options:
    >>
    >> 0) don't move the pointer (listed for completeness)
    >> 1) go to that record anyway
    >> 2) go to the next undeleted record
    >> 3) go to the seventh undeleted record (possibly the least practical)
    >> 4) raise an exception
    >>
    >> Any opinions?

    >
    > Relevance to Python?


    I'm deciding how my python dbf module will handle this situation.

    http://python.org/pypi/dbf for the curious.

    ~Ethan~
    Ethan Furman, Jul 18, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ethan Furman

    Foxpro goto command and deleted records

    Ethan Furman, Jul 17, 2012, in forum: Python
    Replies:
    3
    Views:
    255
    Dennis Lee Bieber
    Jul 18, 2012
  2. Ian Kelly
    Replies:
    0
    Views:
    152
    Ian Kelly
    Jul 18, 2012
  3. MRAB
    Replies:
    0
    Views:
    165
  4. Ethan Furman
    Replies:
    0
    Views:
    144
    Ethan Furman
    Jul 18, 2012
  5. MRAB
    Replies:
    0
    Views:
    153
Loading...

Share This Page