FoxPro
--
Questions
--
Followers
Top Experts
thanks
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
In this particulat case the SCT file can be stored in a different folder than SCX resides in. (Windows can move writable files into so called Virtual storage from Program files). Try to search your C: drive and copy both files into one folder with sufficient rights.
The question is how many work is really lost and needs to be redone from scratch or from a backup of an older state of the form.
I'd never feel good about working with a repaired form, so even if you fix it with a table repair tool after renaming scx->dbf and sct->fpt, I'd copy the controls and code over into a new form.
Several really simple things to check first: Is the sct file still present? What is the file size? If size is 0 for example you already know there is nothing left over to repair.
Pavel is right the sct file could be in your user profile in a VirtualStore folder, depends on where you store your forms, but even by default that would be in your docs folder in \Vsual Foxpro Projects\, where this does not apply. Even if, both scx and sct would be saved rerouted into VirtualStore. You would always find your sct where your scx is, too.
Bye. Olaf.
Kind regards






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
FoxPro
--
Questions
--
Followers
Top Experts
Visual FoxPro (VFP), and its predecessor FoxPro, is a data-centric, object-oriented, procedural, database programming language and IDE from Microsoft last released in 2007 that still has some active use due to its low cost of deployment and fairly rapid development. In 2008, Microsoft released a set of add-ons for VFP's xBase components to allow interoperability with various Microsoft technologies. It allows data processing against its native file-based data tables or database servers such as SQL Server.