related to the select command in the display method

display itemName itemName()

{

inventTable inventTable;

;

select name from inventTable

where inventTable.itemId == this.itemId

return inventTable.name;

}

please explain me about above problem

Hi Taukeer,

Display method will be used to display the field on the form and it can have any retrun type and non - editable on form.

The above display method returns item name from inventtable for the slected range.

This site will help you to learn about display method :

http://www.axaptapedia.com/index.php?title=Display_method

Hi,

The method will return the name(ItemName) for the current Selected row(inventTable.itemId == this.itemId) in the grid

Hi taukeer,

we are displaying the item name by providing the return type as itemname…

and selecting the item from the item master using current item whic is active…

and returning the item name if the item is found from the item master…