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

Edit a ReportRecordItem

 Post Reply Post Reply
Author
Message Reverse Sort Order
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Topic: Edit a ReportRecordItem
    Posted: 15 February 2006 at 3:24pm
Hi,

Before you access EditOptions you have to create it with CreateEditOptions method.

See Report Control / Test / Properties test dialog and the corresponding code.

--
WBR,
Serge
Back to Top
Shawshank View Drop Down
Senior Member
Senior Member


Joined: 16 October 2005
Status: Offline
Points: 117
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shawshank Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 2:05pm

I'd like to a a specific ReportRecordItem be editable by simply single clicking upon it. This appears possible from reading through the object library but I can't seem to get it to work. I have tried the following:

Dim Item As ReportRecordItem

Set Item = Record.AddItem(sNewFile$)

Item.Editable = True

Item.EditOptions.AllowEdit = True

I have also se the Report control's .EditOnClick property to True.

The latter attempt generates an error stating the "Object variable or With block variable not set". Checking the Item I see that it is indeed a valid object that has been initialized. In fact, Item.Editable does not produce the same error.

 

Is what I want to do possible? If so, what am I doing wrong?

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.219 seconds.