Next Record in a subform

  • Thread starter Thread starter lim_ak
  • Start date Start date
L

lim_ak

Guest
I have a main form with a subform in it and I am trying to goto the next record in the subform. I currently am trying to do this using:
DoCmd.GoToRecord acDataForm, Forms![Processing]("Order Processing").OrderID, acNext
But I always end up getting the error "Object doesn't support this property or method". Could anyone tell me how to goto the next record?

Thanks

Andrew
 
Try:

Forms![Processing]![Order Processing].SetFocus
DoCmd.GotoRecord ,,acNext

I leave it to you to check for a new record or EOF...
 

Users who are viewing this thread

Back
Top Bottom