Report Control: Deleting an item from rec |
Post Reply |
Author | |
gshawn
Senior Member Joined: 04 October 2004 Status: Offline Points: 227 |
Post Options
Thanks(0)
Posted: 07 February 2005 at 3:45pm |
Hi, How do I go about deleting a single item from a record? For example, if I have this: Set Record = RecordControl.Records.Add Record.AddItem "first" Record.AddItem "second" Record.AddItem "third" Record.AddItem "fourth" How do I remove the “second” and “third” items? I can see a .RemoveAt method in the Records collection, but there is no equivalent in the ReportRecord collection. Help?
|
|
gaudetm
Senior Member Joined: 23 September 2006 Location: Canada Status: Offline Points: 134 |
Post Options
Thanks(0)
|
how about this?
record.recordreportitem(position_to_remove).caption = vbnullstring
record.recordreportitem(position_to_remove).value = vbnullstring
reportcontrol.populate
|
|
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 |