Search This Blog

Tuesday, September 13, 2011

List All forms From AOT

Sample code lists all the forms from AOT

static void krishh_listAllForms(Args _args)
{
     #AOT
    TreeNode tNode;
    XInfo  xinfo=new XInfo();
    Counter    cntr;
    ;
    tNode=xinfo.findNode(#FormsPath);
    tNode=tnode.AOTFirstChild();
    while(tNode)
    {
         info(tNode.treeNodeName());
         tNode=tnode.AOTnextSibling();
         cntr++;
    }
}

No comments:

Post a Comment

Thanks for visiting my blog,
I will reply for your comment within 48 hours.

Thanks,
krishna.