Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Report Control: Deleting an item from rec
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report Control: Deleting an item from rec

 Post Reply Post Reply
Author
Message
gshawn View Drop Down
Senior Member
Senior Member


Joined: 04 October 2004
Status: Offline
Points: 227
Post Options Post Options   Thanks (0) Thanks(0)   Quote gshawn Quote  Post ReplyReply Direct Link To This Post Topic: Report Control: Deleting an item from rec
    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?

 

Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2006 at 11:57am
how about this?
 
record.recordreportitem(position_to_remove).caption = vbnullstring
record.recordreportitem(position_to_remove).value = vbnullstring
reportcontrol.populate
 
 
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.188 seconds.