Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move through columns in recordset 1

Status
Not open for further replies.

44nato44

Programmer
Dec 12, 2008
115
NL
Hi

I need to move through my columns in a table and I do not want to write down each column header, is there not a smart way to go around this ?

I use this tblRst.FindNext "[All_Prod_Code].. to find a certain value.. instead of [All_Prod_Code] there must be a good way of doing this

This is my code below :

Do While Not tblRst.EOF
tblRst.FindNext "[All_Prod_Code] = '" & tblRstChk("Check") & "'"

If .NoMatch = False Then
.Delete
tblRst.MoveFirst
Else
tblRst.MoveNext
End If
Loop

Cheers everybody, appreciate your help
 
Thanks.. I knew there must be something easy

Thanks alot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top