subform in subform

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a subform in a subform. Now I want to requery this second subform and move to the last record. I have tried this with the code below, but it doesn't work. The application moves to the last record of the main form. Does anyone know how I can achieve this?
 
sorry, I forgot the code

Me![subFrm_AnswerData].Form![subFrm_Answers].Requer
Me![subFrm_AnswerData].Form![subFrm_Answers].SetFocu
Me![subFrm_AnswerData].Form![subFrm_Answers].Form!txtSubnumber.SetFocu
DoCmd.RunCommand (acCmdRecordsGoToLast)
 
Back
Top