troubleshooting Question

for loop doesn't move to next record

Avatar of afreer2
afreer2 asked on
Microsoft OfficeMicrosoft Access
11 Comments1 Solution462 ViewsLast Modified:
got this far on the web
useing DAO


For i = 1 To rs.RecordCount
Dim hid As String
hid = rs.Fields("[hid]")
                  'edit record
    Next i       'go to next record
I see the count go to the correct # of records
problem is the hID # doesn't go to the next record hID #
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Database Architect / Application Developer
Join our community to see this answer!
Unlock 1 Answer and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros