Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Summing values in a Grid Column
Message
From
08/01/2005 18:58:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00975355
Message ID:
00975462
Views:
12
>Hi,
>
>I've got a grid with a list of payments received from a customer. I'd like to display a total of all payments for the current customer into a readonly textbox.
>
>Is there an easy way of doing this?
>
>Thanks,
>
>Dennis

Dennis,
Do it the way humans do. Humans are slow and thus generate best methods for things like that. IOW SQL sum once the records and update result if any field contributing to sum (ie: debit,credit) changes with difference. Summing over and over is unnecessary.

Check Message #376592

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform