![]() |
Edit a ReportRecordItem |
Post Reply ![]() |
Author | |
Shawshank ![]() Senior Member ![]() Joined: 16 October 2005 Status: Offline Points: 117 |
![]() ![]() ![]() ![]() ![]() 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? |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |