I have a command button on a form that performs a set of calculations and copies the result to one of the fields. I would like to perform the same functions on all of the records. Right now I have to manually page through each record and click the command button. I tried using the following Command to go to the next record but I must have the syntax incorrect:
DoCmd(GoToRecord, acDataForm, Stock_Datafrm, acNextRec) = 0
I have also tried:
DoCmd.GoToRecord( acDataForm, Stock_Datafrm, acNextRec)
and several other variations. Please, help and thank you
Bill
DoCmd(GoToRecord, acDataForm, Stock_Datafrm, acNextRec) = 0
I have also tried:
DoCmd.GoToRecord( acDataForm, Stock_Datafrm, acNextRec)
and several other variations. Please, help and thank you
Bill