[SOLVED] Grouping in RC |
Post Reply |
Author | |
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Posted: 06 January 2009 at 3:40pm |
Hi,
I'm a little confused about grouping of RC. I uploaded image to make things clear
Image on the left is before changing the RecordItem from "Onbekend" into "Uitgelezen". The image on the right is after the change. You can see what happened. This will apply on all items in group except for the last item.
Note: If I would change a RecordItem (the last one in the group) it will be grouped as expected (for example item "258194" in image) and we would have: Onbekend (5) and Uitgelezen (15)
Can someone please explain how this could be solved?
Thanks a lot
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
wlcabral
Groupie Joined: 25 April 2007 Location: Brazil Status: Offline Points: 72 |
Post Options
Thanks(0)
|
did you call Populate() after your change ?
|
|
wlcabral
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Walter,
Yes I did.
So you also believe it's strange... It only happens when changing a reportItem that isn't last in group. If I would change the last one it will be grouped correctly and when the records are loaded from database (I do save RC settings) they will be grouped as should. I will create a test project for this and you will see what I mean.
Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I created a test for this and the way I look at it now, it looks more and more like a bug.
Thanks
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
wlcabral
Groupie Joined: 25 April 2007 Location: Brazil Status: Offline Points: 72 |
Post Options
Thanks(0)
|
I needed to rewrite the code in Foxpro...
To work properly, I changed the "Value" property, not "Caption"...
wndReportControl.FocusedRow.Record(0).Value = "Uploaded"
|
|
wlcabral
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Walter,
Thanks for looking at it
.Value did the trick.
And even without calling .Populate it works OK. Strange though that with .Caption only first / last item would be grouped properly.
Thanks a lot
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |