Keyboard Shortcuts
Likes
Search
VFP version issues
Stein Goering
开云体育I’ve been doing some retro work on an older Codemine-based app (as referenced in my last post).? This thing had been running under VFP 7, but having become addicted to the 8 IDE, I decided to try it under ver 8.? It recompiled without complaint, and the areas where I’d made changes seemed to work OK, so I shipped it off to the customer along with the 8 runtimes.? ? Today they called to report that several things were not working.? I was rather baffled as it was pretty much all code that I had not modified in any way.? I kept trying to undo the changes to find out what was causing the side-effects, but nothing helped, even tho I went back to source code that I know was working earlier.? Finally, I tried rebuilding under VFP 7 and bingo – all was well. ? There were a number of oddities, but the most noticeable problem was on my job orders form.? It has a page frame which shows a Job’s trasactions in a grid – standard child table display.? Under VFP 8, the cursor in the grid would be stuck on the top row.? Neither mouse click nor arrow keys could move it off the first record.? With the same source compiled under 7 you can navigate the grid with no problems.? ? ? Anyone have an idea what could be going on?? VFP 8 base classes?? Seems unlikely - the app mostly uses Codemine custom classes.? ?Environment settings?? ?I’ve moved other apps from 7 to 8 (and in one case from 6 to 8) with no problems, but it sure didn’t work this time. ? --stein ? Stein Goering Arbutus Computer Services 17494 Merry Hill Rd Richland Center, WI? 53581 ? 608.538.3820 ? ? |
Lorentzen David F.
开云体育Stein,
?
Do you
have the latest and greatest Codemine 7.1? According to the web page, it looks
like you need 7.1 for VFP8. I haven't tried 7.1 yet.
-= Dave David F. Lorentzen
|
Stein Goering
开云体育No, I’m still using Codemine version 6.?? I tried CM 7 when it came out and it broke a bunch of my code, so I haven’t upgraded the framework in years. ?I’ve upgraded other legacy code to VFP 8 with no problems so thought I’d try it.? As I said, it seemed to compile and run OK – it’s just a few quirks like the child grid that are problematic. ? From: Lorentzen David
F. [mailto:DF.LORENTZEN@...]
Sent: Tuesday, February 10, 2004 1:44 PM To: madfox_vfp@... Subject: RE: [madfox_vfp] VFP version issues ? Stein, ? Do you have the latest and greatest Codemine 7.1? According to the web page, it looks like you need 7.1 for VFP8. I haven't tried 7.1 yet. -= Dave David F. Lorentzen
|
开云体育Stein:
?
I haven't used codemine in years.? But, the biggest gotcha in my vfp8 conversion of vfp7 apps had to do with SQL statements.? Namely -?GROUP BY clause has a requirement in VFP8 that all the columns have to be restated.? The quick way around this - and a quick suggestion to you is to include:
?
SET ENGINEBEHAVIOR to 70? at the top of your app
or
ENGINEBEHAVIOR=70? in your config.fpw
?
It's worth a try
?
Peter d.
|
Stein Goering
开云体育Thanks but that wasn’t it.? I had run into the GROUP BY issue in previous upgrades to VFP 8, so had already added the SET ENGINEBEHAVIOR clause.? And the areas where the odd behavior showed up often did not even involve a SELECT stmt of any sort…. ? --stein ? Stein Goering Arbutus Computer Services 17494 Merry Hill Rd Richland Center, WI? 53581 ? 608.538.3820 ? From:
Foxprotalk@... [mailto:Foxprotalk@...] I haven't used codemine in years.? But, the biggest gotcha in my vfp8 conversion of vfp7 apps had to do with SQL statements.? Namely -?GROUP BY clause has a requirement in VFP8 that all the columns have to be restated.? The quick way around this - and a quick suggestion to you is to include: ? SET ENGINEBEHAVIOR to 70? at the top of your app or ENGINEBEHAVIOR=70? in your config.fpw ? It's worth a try ? Peter ? madfox_vfp-unsubscribe@... ·? Your use of Yahoo! Groups is subject to the . |