Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the total of a column in a MSHFlexGrid 1

Status
Not open for further replies.

rtshort

IS-IT--Management
Feb 28, 2001
878
US
How would you go about getting the total(currency) of a column in a MSHFlexGrid?? Every day above ground is a GOOD DAY!!!
 
I haven't used the MSHFlexGrid, but I imagine you would do a For...Each on the rows collection. Inside that loop (on the row object) you'd look at the column in question and add it's value to a variable.

Something like:
[tt]
curTotal = 0
For Each MyRow in MyMSHFlexGrid
curTotal = curTotal + MyRow.Column("Amount")
Next MyRow
[/tt]

Chip H.
 
I'll give it a try. Thanks Chip Every day above ground is a GOOD DAY!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top