Hi, how do I replace Me.field1, Me.field2, Me.field3, etc. with Me.field(i) in a loop so I don't have to write out fifteen of these? I can't get the syntax correct.
ok, but how would I set this up, currently I have:
with rst
.addnew
!record1 = Me.field1
!record2 = Me.field2
!record3 = Me.field3
etc.
how do I apply a counter to both the rst and field names?
I've figured out the field name part (search for certain common name in field name) but compiler doesn't like !record(i)
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.