Do Until rs.EOF
For Each fld In rs.Fields
My code starts like this but what i want to do is start the next bit of code only when the rs.fields(1) is at the 5th record. I know I could put it in an index but is there any way of getting the recordset to move down to the 5th field when it is opened. I need to be able to look at the first five fields but I wont need to run any action on them.
Any help would be appreciated
For Each fld In rs.Fields
My code starts like this but what i want to do is start the next bit of code only when the rs.fields(1) is at the 5th record. I know I could put it in an index but is there any way of getting the recordset to move down to the 5th field when it is opened. I need to be able to look at the first five fields but I wont need to run any action on them.
Any help would be appreciated