Do While Not .EOF
[CY#] = [CY#] + 1
docmd.GoToRecord , , acNext
Loop
The Above Program give me a "Compile Error Invalid or Unqualified Reference"
I have tried it with the Period an without and get the same error
What I am wanting to do is Increment the Cy# Field by 1
Using only Cy# = Cy# + 1 works great, but only for one record
What am I missing that needs to be done so that I am able to get this to run.
Thank you for your help in this problem
Robert M
[CY#] = [CY#] + 1
docmd.GoToRecord , , acNext
Loop
The Above Program give me a "Compile Error Invalid or Unqualified Reference"
I have tried it with the Period an without and get the same error
What I am wanting to do is Increment the Cy# Field by 1
Using only Cy# = Cy# + 1 works great, but only for one record
What am I missing that needs to be done so that I am able to get this to run.
Thank you for your help in this problem
Robert M