Bookmarks in VFP 9.0

I use Bookmarks to toggle back and forth between sections of a prg file.

It works fine except on one file. On this particular file, it goes to each to bookmark than to the end and no longer responds to the F2 key.

On all other files it wraps around and continues cycling through.

This problem file is much larger than the others.  121k in size and has about 75 functions/procedures.

Is there perhaps a size limitation?

Michael
MichaelKatzAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CaptainCyrilFounder, Software Engineer, Data ScientistCommented:
I have a problem with a large prg file that when I do a few PageUps when I am at the bottom of it it will go way to the beginning.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MichaelKatzAuthor Commented:
I tried some modifications and size does not appear to be the issue.

I did discover something interesting.

If I saved the file under a new name, thing worked fine. When I changed it back, the problem reappeared.

Michael
pcelbaCommented:
FoxPro isn't 100% perfect... This could be a problem in resource file and you may try to fix it by creating empty resource file:

USE SYS(2005) AGAIN
COPY STRUCTURE TO d:\path\newrsrc WITH CDX
SET RESOURCE OFF
SET RESOURCE TO  d:\path\newrsrc
SET RESOURCE ON

and now try to modify your PRG.

If empty resource does not help then you may try to set different properties of editing window for this particular PRG file (word wrapping, line number displaying etc.)

MichaelKatzAuthor Commented:

Tried all your ideas. No luck.

I changed the name and references to the file, and stopped worrying about it.

Thanks.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FoxPro

From novice to tech pro — start learning today.