How to debug/track a record pointer change event?



Hi,

I am using VFP9 and have a table called NOTES. I have 3 records in the
table. I position the record to record #2 (I verify this by doing a WAIT
ALLTRIM(:STR(RECNO()) WINDOW and then launch another form (properties set to
show within top-level form). I also launch a ADOBE PDF document using the
SHELLEXCUTE command. When I bring the focus back to the top-level VFP form,
the record pointer for NOTES has changed to EOF(). There is nowhere in my
code on that form that moves the record pointer (including any subroutine
calls). I have tried to track this in vain but just cannot figure out why
VFP moves the record pointer? The Data Environment properties of this top
level form are set to .F. for auto open and auto close tables.

Is there anway to debug a record pointer move so I can trap the event and
figure out where and why VFP is randomly moving the record pointer?

Thanks

Zoom


.



Relevant Pages

  • Re: How to debug/track a record pointer change event?
    ... Or go to the debugger (choose Tools->debug from the menu or type DEBUG in ... the command window) and choose it from the menu or the toolbar. ... (always at least three ways to do something in VFP ) ... form that moves the record pointer (including any subroutine ...
    (microsoft.public.fox.programmer.exchange)
  • Re: How to debug/track a record pointer change event?
    ... Howvver, even with the debugger, I just cannot figure ... which moves the record pointer and yet VFP keeps moving it to EOF. ... doing a WAIT ALLTRIM) WINDOW and then launch another ...
    (microsoft.public.fox.programmer.exchange)
  • Re: How to debug/track a record pointer change event?
    ... focus back to the top-level VFP form, the record pointer for NOTES ... The Data Environment properties of this top ...
    (microsoft.public.fox.programmer.exchange)
  • Re: VFP 9 refresh problem
    ... A typical way would be to call Thisform.Refreshafter the record pointer ... another "typical" thing would be not to use memvars in Vfp ... > my refresh routine in the refresh method of the form, ...
    (microsoft.public.fox.vfp.forms)
  • Re: How to debug/track a record pointer change event?
    ... focus back to the top-level VFP form, the record pointer for NOTES ... The Data Environment properties of this top ...
    (microsoft.public.fox.programmer.exchange)