|  | 
| reportcontrol and database | 
| Post Reply   | 
| Author | |
| ray2012   Newbie   Joined: 09 July 2012 Status: Offline Points: 1 |  Post Options  Thanks(0)  Quote  Reply  Topic: reportcontrol and database Posted: 09 July 2012 at 5:57am | 
| 
   
hi, I am new to this control and I was wondering if there is any way to read each row of my reportcontrol and register the value of each item to a ms access database. I tried the following code, but it's not working:     For i = 1 To RptControl.Rows.Count - 1 .AddNew .Fields("Field1") = RptControl.Rows.Row(i).Record.Item(0).Value .Fields("Field2") = RptControl.Rows.Row(i).Record.Item(1).Value .Fields("Field3") = RptControl.Rows.Row(i).Record.Item(2).Value .Fields("Field4") = RptControl.Rows.Row(i).Record.Item(3).Value .Update Next please let me know what am I doing wrong? thank you,  | |
|  | |
| 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 |