Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - GroupCaption
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

GroupCaption

 Post Reply Post Reply
Author
Message
tomgriff View Drop Down
Groupie
Groupie
Avatar

Joined: 10 August 2006
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote tomgriff Quote  Post ReplyReply Direct Link To This Post Topic: GroupCaption
    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.
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
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.133 seconds.