Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Found bug in RC 13.1.0...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Found bug in RC 13.1.0...

 Post Reply Post Reply
Author
Message
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Topic: Found bug in RC 13.1.0...
    Posted: 15 September 2009 at 12:02pm
Hi All

Please help me for how fix this problem by RC 13.1.

example : when i select 8 & 9 record for remove, rc remove all of the records after record 8 & 9.

Check attachment20090915_115849_RC_Sample.zip



Thanks
Amoot Data Processing
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
Lodep59 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 03 April 2008
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lodep59 Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2009 at 4:41pm
Hi,
 
Did you try the lastest beta 13.2 ?
Checked with this version, it's OK.
Product: Xtreme SuitePro (ActiveX) last version
Platform: Windows 7 Ultimate
Language: VB6 SP6 (FR)
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 15 September 2009 at 8:31pm
So please add [solved] tag
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 1:20am
please select rows bye press SHIFT and test with this codes:

        Dim Row As ReportRow
        For Each Row In ListView.SelectedRows
            ListView.Records.RemoveAt Row.Record.Index
        Next

___________________AND ______________________
    Dim grdReportRow As ReportRow

    While ListView.SelectedRows.Count
        Set grdReportRow = ListView.SelectedRows(0)

        Call ListView.RemoveRowEx(grdReportRow)
    Wend

ListView.Populate
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 1:36am
Hi dear

where is 13.2 download link?

Thanks
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
Lodep59 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 03 April 2008
Status: Offline
Points: 203
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lodep59 Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 2:33am
Product: Xtreme SuitePro (ActiveX) last version
Platform: Windows 7 Ultimate
Language: VB6 SP6 (FR)
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 3:14am
Thanks but not found any download link for 13.2 beta

Please send me direct download link.

Regards
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 3:19am
You need to remove records in opposite order as always in dynamic arrays
Don't use "for each" - it does not work properly in dynamic case - see MSDN topic about "for each"
 
Use
count = ListView.SelectedRows.Count
for i = count - 1 to 0 step -1
........remove row # i ...........
next
 
Back to Top
mozaheb View Drop Down
Senior Member
Senior Member


Joined: 03 April 2008
Status: Offline
Points: 104
Post Options Post Options   Thanks (0) Thanks(0)   Quote mozaheb Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2009 at 7:04am
Thanks Mdoubson   
________________________________
http://www.amootco.com
Amoot Data Processing
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.265 seconds.