Hi Idrees,
Then in that case you have to write the code of for retrieving First,Next,Previous,Last records
To Enable Menu buttons write this code
oForm.EnableMenu("1290", True) 'First
oForm.EnableMenu("1288", True) 'Next
oForm.EnableMenu("1289", True) 'Previous
oForm.EnableMenu("1291", True) 'Last
But it wont retrieve the records
Thanks
Shafi