![]() |
RemoveAt + Populate (revisited for child records) |
Post Reply
|
| Author | |
elmsoftware
Groupie
Joined: 21 November 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: RemoveAt + Populate (revisited for child records)Posted: 14 September 2007 at 2:40pm |
|
NightHawk helped me earlier with a previous post about deleting a record using 'RemoveAt' + 'Populate' + 'TopRowIndex' to establish a familar deleting effect of a row. Now, I have records that have 'Child' records.
When performing the same method of:
lngTopRow = rpt.TopRowIndex
rpt.Records.RemoveAt (Row.Record.Index) rpt.Populate
rpt.TopRowIndex = lngTopRow This code will not remove the child record.
What is the recommended practice for removing a child record.
|
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2007 at 5:32pm |
-- WBR, Serge |
|
![]() |
|
elmsoftware
Groupie
Joined: 21 November 2006 Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 September 2007 at 10:34pm |
|
Much appreciated.
|
|
![]() |
|
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 |