Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on the VFP 9 group by
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01111136
Message ID:
01111370
Vues:
13
Sergey,
you hit the nail on the head. Our intention is to move our systems to a SQL database over the next few years. Both of our current systems are .DBF based with about 300 tables total between them. We don't have the resources to stop all work for many months and do a major convert. Instead, as we add new features or modify existing ones we convert the code to ANSI SQL as close as possible using a set of seperate data broker PRGs to read/write the data. Then, at some future point, the conversion should be a snap. (He said smiling.)

>
>Hi John,
>
>As Rich pointed out, your original query didn't generate an error in VFP6 but it could produce incorrect result because emplid was coming from the last phisical record in a group, not from the record with MAX(asgnhrs). By sticking to SET ENGINEBEHAVIOR 90 you get queries that work correctly and also more ANSI compliant. The second part would make your life easier if you ever decide to upgrade your application to SQL Server backend.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform