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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List box running total

Status
Not open for further replies.

rox383

Technical User
Feb 24, 2008
2
0
0
US
Gentlemen,
Any assistance would be greatly appreciated.
I am trying to create a list box with a running total that "floats" at the bottom below all other entries. my list box is formated in to 5 columns and I want "total" aligned with third and the actual value aligned with the 5th column. I have figured out the formating controls. I just can't seem to figure out if what I want to do is possible in a list box.


As items are added the "Total" floats at the bottom
I am planning on writing some sot of sub procedure to calculate the totals as there are many variable, but not sure how to float the "total"
Thanks for the help!!

Please don't write all the code just point in towards the right controls.
I have have already developed the code for the list box and all other events in the form, not sure how to attack this.

for example if items are

quantity size item price each price
2 Large shirt 2.00 4.00
3 medium shirt 1.00 3.00
_______________________
Total 7.00
thanks again
Rox383


 
Figured it out!!
just need to subtract out the corresponding lines using "count"
Til next time
thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top