Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from VFP 3.0 to 5.0
Message
From
13/09/1997 10:40:33
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00048934
Message ID:
00050009
Views:
36
>>>>I am preparing to upgrade from VFP 3.0 (not 3.0b) to VFP 5.0 (not 5.0a). As I understand from other threads, I need to uninstall VFP 3.0 from my c-drive and install 5.0 as if Visual FoxPro were a totally new creature to live on my PC. Is this correct?
>>>>
>>>>After upgrading the programming environment, I need to upgrade my project to VFP 5.0. To do this, I simply bring up the project in 5.0 and recompile ALL files - correct?
>>>>
>>>>TIA for any assistance.
>>>
>>>Hi Dallen,
>>>You have to convert your Class Libraries as well, and if you have
>>>any FLL library you have to recompile it again.
>>
>>
>>I have been assisting a colleague with a VFP3 -> VFP5 conversion and found that we get errors in the 5 version where none were encountered before. When traced, we found that there was inconsistent behavior with regard to setting and resetting datasessions programmatically (admittedly not recommened by MSFT) but worse than that, a very complex multilevel local view functions only intermittantly. Seen anything like these?
>
>Hi Don,
>Yes I have found a couple glitches, like the AFIELDS() function.
>I use this function a lot to copy the structure of one table to
>a temporary cursor at run time, every time that I have
>moved from differents versions I have to code again that procedure
>because AFIELDS() has more elements in each version, and then
>CREATE CURSOR FROM ARRAY does not work. Is my opinion that
>it should be backward compatible and is not. I have experienced
>this from 2.6 to 3.0 and from 3.0 to 5.0

Luiz:

I found my problem. When my view is built, it is built as 5 separate levels, each an individual view that is subsequently used the next level. As VFP builds each level, the cursors from the previous level are opened. The error occurs when I try to open the last and final level cursor. I have found that if I first close all prior level cursors before trying to open the last one, it will open fine. Otherwise, it will error. Didn't happen in VFP3.

Don
Previous
Reply
Map
View

Click here to load this message in the networking platform