¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: VFP version issues


 

¿ªÔÆÌåÓý

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.

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 ¨C 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 ¨C 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

Join [email protected] to automatically receive all group messages.