Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FYI: SFReports and VFP7
Message
From
03/08/2001 11:04:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Stonefield
Title:
FYI: SFReports and VFP7
Miscellaneous
Thread ID:
00539395
Message ID:
00539395
Views:
61
Anyone trying to run SFReports and VFP7 might run into some trouble. The problem is the format of Version(4) has changed from 6 to 7, so when Doug checks to make sure at least VFP6 SP3 is installed before COMPILEing code at runtime, VFP7 fails the test.

This code is in a handful of places, I recommend Erik Moore's SearhString to find them all (I searched for the phrase "8492").

Replace the line:
if lcVersion >= '8492'
with
if lcVersion >= '8492' OR LEFT(version(4), 2) = '07'
Thats just a temp fix, what you should probably do is something like
if version(4) = '07'
     lcVersion = substr(lcVersion, at('.', lcVersion, 3) + 1)
else
     lcVersion = substr(lcVersion, at('.', lcVersion, 2) + 1)
endif
if lcVersion >= '8492'
There should be 4 classes in SFReports.VCX and 1 in SFUtility.VCX with the problem. Also, SFUtiltiy has a couple of those missing commas in the local, but when you compile a project it'll find those errors.
Next
Reply
Map
View

Click here to load this message in the networking platform