Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT SUM() gives me # than SUM... TO
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SELECT SUM() gives me # than SUM... TO
Divers
Thread ID:
00361638
Message ID:
00361638
Vues:
51
Hi,

I have a local view (lv_diario), buffering 5.

And I got different results if I do,

SELECT SUM(field) TO sfield FROM lv_diario INTO CURSOR query1

(query1.sfield)

and,

SUM field TO sfield

When I adding records to the view, everything is Ok, I get these results only modifying existent records and changing the "field" field.

Any suggests? What I'm doing wrong?
Pablo Roca
Clavo Congelados, S.A. (La Coruna - Spain)
Sysop of PortalFox

Join MasFoxPro campaign
http://www.masfoxpro.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform