Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot open a form, works in VFP 5 and 6
Message
From
16/04/2002 15:37:55
 
 
To
19/03/2002 21:28:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00631034
Message ID:
00645661
Views:
24
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
Map
View

Click here to load this message in the networking platform