Life of a Blogger

Bleuken.i.ph is my first ever blog and give me opportunity to post different topics that can help other people to make money online and go through cyberspace. This started at Roxas City, Capiz, Philippines. This blog is intend to post different advice on programming, web design, search engine optimization (SEO Challenges, SEO Contests), information about viruses and how to remove it, making money online and contain some of my experiences online.

If you wish to suggest or send feedbacks, you can contact me at fbaguyo[at]hotmail[dot]com

Fixing Error: 2091 Table "name" has become corrupted. The table will need to be repaired before using again.

May 2, 2007

Have you ever encountered Error: 2091 Table "name" has become corrupted. The table will need to be repaired before using again in Visual Foxpro 8.0? It usually appear after a certain table was accidentally corrupted due to power failure or improper shutdown of Windows (because of delay write mechanism of windows). I only encountered this kind of problem in version 8.0 but in version 7.0, there were no incident of this error.Now, if in case you ask the HELP file of Visual Foxpro on how to repair this kind of problem, you'll be recommended to ask for Third-Party programs to repair this error. Woohh, another fee!

Now of course. you will not tell your client to pay another fee just to repair the database or re-encode their data, you might get in trouble hehehe…For cure, try using previous version of Visual Foxpro 8.0 like version 7.0, now its your problem to look for it. Open your table using the previous version and copy it to a different name (using: COPY TO newname), reconstruct its indices and re-open it in version 8.0, rename.

But of course prevention is always better than cure! Try to put a code in your program that automatically creates a duplicate copy of your tables, index files and databases and automatically copy to good file from your duplicates if in case the error triggers (use ON ERROR). Set-up a back-up routine. Inform the user to properly shutdown the computer and regularly perform back-up. Use UPS for power back-up. Better is to use MySQL as your database instead of the native database/tables of VFP but this will be a different story.

Posted by bleuken at 11:12 am | permalink | Comments Off

Search

Business Software

For online storing of receipts, organizing and managing your expenses, use an Expense Management Software with their system to help you quickly prepare your expense report, what you could ask for?

Sponsored Links

    

Blog Directories

Recent Viewers