For all who responded. I finally found the problem. DBC had invalid enteries which got past VFP 5 and 6 but which caused VFP 7 to complain.
Once I figured that out a combination of validate database recover and stonefeld database toolkit fixed the problem.
>>>Create a blank form, and copy the DE from your form into it (look at FAQ #7978 for code which does it) and then try to launch that new form. If it runs fine, copy the controls and code from the old form. If it doesn't, try to see which table creates trouble. Try to open it manually, from VFP (actually you can try that independently from this). You may also try setting .AutoOpenTables to .f. in the DE, and then open each cursor in code, so you can trap which one is problematic.
>>>
>>
>>If I cannot open the form in VFP 7 SP1 how do I do any of the above. Do I open VFP 6 and 7 simultanously?
>>
>>>Even if none of this helps, it may give you some clue to what's going on. Something's definitely wrong with your DBC... or the code in your form. Try to recompile the form, just in case. 99.9% of VFP6 code runs fine under 7 without recompiling, but you may have hit the 0.1% here.
>
>Well, do the copying in 6 and testing in 7.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only