Hallo,
I have this code which moves from one record to another. Is there a way I can modify it so that it can only naviagte from a field in a subform when clicked. The field name is called Session (which is built up of many Sessions 2003/04, 2004/05, 2005/06 etc). Also incase there are two identical Sessions displayed for example 2005/06 then 2005/06, I want it only to display one (2005/06) and go to 2006/07.
The code moves from one record to another and is:
On Error GoTo Err_Command91_Click
DoCmd.GoToRecord , , acNext
Exit_Command91_Click:
Exit Sub
Err_Command91_Click:
MsgBox Err.Description
Resume Exit_Command91_Click
Thank you
I have this code which moves from one record to another. Is there a way I can modify it so that it can only naviagte from a field in a subform when clicked. The field name is called Session (which is built up of many Sessions 2003/04, 2004/05, 2005/06 etc). Also incase there are two identical Sessions displayed for example 2005/06 then 2005/06, I want it only to display one (2005/06) and go to 2006/07.
The code moves from one record to another and is:
On Error GoTo Err_Command91_Click
DoCmd.GoToRecord , , acNext
Exit_Command91_Click:
Exit Sub
Err_Command91_Click:
MsgBox Err.Description
Resume Exit_Command91_Click
Thank you