GroupCaption |
Post Reply |
Author | |
tomgriff
Groupie Joined: 10 August 2006 Status: Offline Points: 25 |
Post Options
Thanks(0)
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.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
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 |