Thank you for reply actually I have button name Last I need when click on it get last record for employee
so that what function i will write
and in whuch place action get or post
and whati write on view
can you help me in that please