Skip to Content
0
Former Member
Jun 19, 2014 at 05:38 AM

First column data is missing in Recordset

20 Views

Hi Every one,

I need to insert record set data in table with column names.

When I am trying to insert data first column data is missing in table.

Here I want to insert column names in Table First row:

Dim i As Integer, sFieldname As String


For i = 0 To Rs.Fields.Count - 1

oTable.Cell(1, i).Range.Text = Rs.Fields.Item(i).Name

Next

Please suggest

Thanks in Advance

DEV