Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

When i click on button of a form it doesn't work.

$
0
0

Hello Guys,

I'm working as a technical support on AX now trying some development recipes on AX. i have prior experience on java/j2ee.
i'm following the technet article http://msdn.microsoft.com/en-us/library/gg879955.aspx however, unable to get the result when i click  on button 'Display Assets', it's just nothing happens.

I have tested to put in info("welcome"); in Clicked method of button, it gives me a popup when I click the button. however, when i use following code i don't get anything, just nothing happens.
void clicked()
{
    AssetTable assetTable;
    while select assetTable order by AssetId
        where assetTable.InsuredValue < 1000000
            && assetTable.InsuredValue >= 800
    {
        info(strFmt("%1 %2", assetTable.AssetId, assetTable.Name));
    }

    super();
}

Any idea why it's not working or how can i make it work??

Any response will be appreciated.

 


Viewing all articles
Browse latest Browse all 9880

Trending Articles