G
Guest
Hi
I have this button "Go to next record"
On Error GoTo Err_Kommandoknap37_Click
DoCmd.GoToRecord , , acNext
Exit_Kommandoknap37_Click:
Exit Sub
Err_Kommandoknap37_Click:
MsgBox Err.Description
Resume Exit_Kommandoknap37_Click
But i will only have the button to show when thre are a next record
so when i'm on the last record don't show the button
how can i do this?
Regards
Alvin
I have this button "Go to next record"
On Error GoTo Err_Kommandoknap37_Click
DoCmd.GoToRecord , , acNext
Exit_Kommandoknap37_Click:
Exit Sub
Err_Kommandoknap37_Click:
MsgBox Err.Description
Resume Exit_Kommandoknap37_Click
But i will only have the button to show when thre are a next record
so when i'm on the last record don't show the button
how can i do this?
Regards
Alvin