Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculate total values when check column on grid is true
Message
 
 
To
01/08/2007 12:58:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01244964
Message ID:
01245183
Views:
54
>Naomi,
>
>why don't you use SQL which will bring down the number of lines dramatically, and not move to another record?
>local array laValor
>select sum(valor) from ccheques where deposita = 1 into array laValor
>thisform.total.Value = m.laValor
>

I was thinking we may have a buffered table. Looks like this is not the case, so yes, we can also use Select-SQL and it would be better and shorter.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform