Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Como fazer Somatório de registros na GRADE
Message
 
To
06/02/2003 10:02:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749851
Message ID:
00750024
Views:
20
Alow Luiz!!!!

Vamos imaginar que vc tem a tabela VENDAS e o campo TOTAL...

o Código seria:

Select VENDAS
Sum TOTAL To ThisForm.TextTotal.Value

Vc pode colocar este campo após abrir a tabela...

Ou, se vc permitir alteração no campo que será somado, adicione o código no Textbox.VALID que está dentro da grade...

[]s!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform