Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Controls / March 2006



Tip: Looking for answers? Try searching our database.

VSFlexgrid format subtotals

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lvpaul@gmx.net - 24 Mar 2006 12:10 GMT
I have a recorset that is displayed in a vsflexgrid.

persno, name, date, hours1, hours2

I want to aggregate hours1 and hour2 for each person.

my code:

 Me.VSFlexGrid1.Subtotal flexSTSum, 1, 3, , vbYellow, vbBlue, True
   Me.VSFlexGrid1.Subtotal flexSTSum, 1, 4, , vbYellow, vbBlue, True

   'Outlinebar zum expandieren
   Me.VSFlexGrid1.OutlineBar = flexOutlineBarSimple

   'Standardmässig collapsed
   Me.VSFlexGrid1.Outline 1

I want to compare the values sum(hours1) and sum(hours2) for each
person.

If they are different, I want to change the backcolor of the
"aggreation row" to red.

Is this possible ?

Thanks
aaapaul
AGP - 25 Mar 2006 06:59 GMT
why dont you post in the componentone forum.

AGP

I have a recorset that is displayed in a vsflexgrid.

persno, name, date, hours1, hours2

I want to aggregate hours1 and hour2 for each person.

my code:

 Me.VSFlexGrid1.Subtotal flexSTSum, 1, 3, , vbYellow, vbBlue, True
   Me.VSFlexGrid1.Subtotal flexSTSum, 1, 4, , vbYellow, vbBlue, True

   'Outlinebar zum expandieren
   Me.VSFlexGrid1.OutlineBar = flexOutlineBarSimple

   'Standardmässig collapsed
   Me.VSFlexGrid1.Outline 1

I want to compare the values sum(hours1) and sum(hours2) for each
person.

If they are different, I want to change the backcolor of the
"aggreation row" to red.

Is this possible ?

Thanks
aaapaul
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.