What is the correct way to move through records in a datasheet subform to set the value of a field? (use setfocus & gotorecord OR do loop method OR ?). Please give sample code. Thanks!
I setfocus to subform & used gotorecord last record then loop to previous record. Once it reaches the first record, there is no previous record. So I have on error, exit sub.
In order to use movenext, movefirst, etc I have to reference a recordset. The form is already designed to bring in matching records into a datasheet subform.
Wondering if there is a better way than gotorecord command I used above.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.