Print Page | Close Window

GroupCaption

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=14095
Printed Date: 14 November 2024 at 11:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GroupCaption
Posted By: tomgriff
Subject: GroupCaption
Date Posted: 21 April 2009 at 11:37pm
Hello, I seem to have a preplexing problem with the groupcaption property.  I am building a report that uses the group property.  I have a field on the form that allow the user to add a new group for each lineitem in the report.  I have a table of group captions with the Id and the caption.  I have a field in the report for the caption id and I use the caption associated with the id as the groupcaption in the report.  My problem comes in the fact that the user needs to be able to move the captions up and down in the report.  I take care of this by have the first characters of the caption as number ie; "1) caption", "2) caption", etc.  To be able to move the captions up or down in the report, the numeric value needs to be changed.  I am writing some code to do this.  I have a popup menu on the caption line that has "move up", "move down".  I need to get the caption for that group and change the two numerics and then write them back to the table.  This should work, I am having my problem getting the group caption.  I have tried using the ReportRecordItem. I keep getting the no object error.   I am sure I am not doing this right, but I have went through all the help files and tutorials.  I need to be able to walk through the report, find the group records, which I am successfully doing using the reportrow object, I then need to get the group caption for the goup.  the report is grouping on the 7th field in the record.  If someone has done this before or has any idea of how to accomplish this I would be forever grateful.



Replies:
Posted By: Aaron
Date Posted: 22 April 2009 at 12:40pm
Hi,
 
Can you upload test project? Would be easier so I understand better what you really want to accomplish.
 
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....



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