R
Randy
Hi there...I have some code that I would like to run through all records. I
do not know how to make the code repeat for each record. It does the first
one but that's it...I have placed a counter in my form that counts all the
records, but again do not know how to get the code to repeat the number of
times stated on the counter. Here is the part of code I need repeated:
' Move to Family Size Field
DoCmd.GoToControl "Family_Size"
' Copy Family Size
DoCmd.RunCommand acCmdCopy
' Paste Family Size
DoCmd.RunCommand acCmdPaste
DoCmd.GoToRecord acForm, "Public_Income_Update_Form", acNext
Any ideas of suggestion would be greatly appreciated. Shoud there be any
questions or more info needed please let me know. Thanks in advance for your
time and assistance.
do not know how to make the code repeat for each record. It does the first
one but that's it...I have placed a counter in my form that counts all the
records, but again do not know how to get the code to repeat the number of
times stated on the counter. Here is the part of code I need repeated:
' Move to Family Size Field
DoCmd.GoToControl "Family_Size"
' Copy Family Size
DoCmd.RunCommand acCmdCopy
' Paste Family Size
DoCmd.RunCommand acCmdPaste
DoCmd.GoToRecord acForm, "Public_Income_Update_Form", acNext
Any ideas of suggestion would be greatly appreciated. Shoud there be any
questions or more info needed please let me know. Thanks in advance for your
time and assistance.