Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using SET EXACT and SUM
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00612916
Message ID:
00613158
Vues:
12
>Assuming SET EXACT is ON
>Will this effect my filters ?
>ie: Set filter to x.city="Houston"
>
>Also will this effect my LOCATE and SUM statements? I do know that it deos not effect my SQL Select.

Setting EXACT ON will effect your filters and LOCATE and SUM statements and most other functions you call. It is only scoped to your current data session though.

>
>Finally - what is the difference between:
>CALCULATE SUM
>and
>SUM
>

CALCULATE SUM and SUM do the same functionality. However, CALCULATE SUM allow you to select an alias whereas SUM only uses the current alias selected.

Hope this helps,
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform