Print Page | Close Window

Found bug in RC 13.1.0...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15178
Printed Date: 15 November 2024 at 3:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Found bug in RC 13.1.0...
Posted By: mozaheb
Subject: Found bug in RC 13.1.0...
Date 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 attachment uploads/20090915_115849_RC_Sample.zip - 20090915_115849_RC_Sample.zip



Thanks
Amoot Data Processing

-------------
________________________________
http://www.amootco.com
Amoot Data Processing



Replies:
Posted By: Lodep59
Date 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)


Posted By: mdoubson
Date Posted: 15 September 2009 at 8:31pm
So please add [solved] tag

-------------
Mark Doubson, Ph.D.


Posted By: mozaheb
Date 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


Posted By: mozaheb
Date Posted: 16 September 2009 at 1:36am
Hi dear

where is 13.2 download link?

Thanks

-------------
________________________________
http://www.amootco.com
Amoot Data Processing


Posted By: Lodep59
Date Posted: 16 September 2009 at 2:33am
http://forum.codejock.com/forum_posts.asp?TID=15122&FID=124&PR=3 - http://forum.codejock.com/forum_posts.asp?TID=15122&FID=124&PR=3

-------------
Product: Xtreme SuitePro (ActiveX) last version
Platform: Windows 7 Ultimate
Language: VB6 SP6 (FR)


Posted By: mozaheb
Date 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


Posted By: mdoubson
Date 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
 
Current beta - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar - https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar


-------------
Mark Doubson, Ph.D.


Posted By: mozaheb
Date Posted: 16 September 2009 at 7:04am
Thanks Mdoubson   

-------------
________________________________
http://www.amootco.com
Amoot Data Processing



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net