subform in subform

M

Maaike

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?
 
M

Maaike

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top