Thursday, September 3, 2009

First, Previous, Next and Last Buttons

In the NAV 2009 Classic client Card forms, it is possible to move between the records using First, Previous, Next and Last buttons.



In the NAV 2009 RoleTailoredClient, first List page will be opened. 

From the List page, Card page can be opened.



The below steps will show how to add First, Previous, Next and Last buttons to the Card page

  • Open the Page 30 in design mode.
  • Go to the Action Designer using ViewàActions and add four Actions like below screenshot.

  • Change the properties of the Actions like shown in the below screenshot. 



Image property should be changed according to the functionality of the button.

Button        Image Property

First            PreviousSet

Previous    PreviousRecord

Next            NextRecord

Last            NextSet


  • Add the code for the new buttons like below screen.

  • Open the Item Card in the RoleTailoredClient.

First: First button will go to the first record in the table.
Previous: Previous button will go to the previous record.
Next: Next button will go to the next record.
Last: Last button will go to the last record in the table.

No comments:

Post a Comment