int ret,j,i;DictTable dictTable;DictField DictField;str curFieldName;;dictTable = new DictTable(tableNum(yourTableName));i=dictTable.fieldCnt()-11;//這裡系統會包括表的其他11個父類欄位,所以減去11for (j=1;j<=i;j++){ DictField=new
Sometimes, we need Morthx X++ code to run batch reports to PDF Printer, so I wrote the following code as a backup for future work static void Jimmy_ReportPrintToPDF(Args _args){ Args args; ReportRun rr; str
/Files/JackyXu1981/SysMultiTableLookup.rar SysMultiTableLookup Class DownLoad The SysMultiTableLookup.rar is a class to show multi table information.When you want to create a sales line in SO, You can selet an item and see some information of
如果類可以在他所在的包的外部進行訪問,就提供存取方法。如果類是包私人的,或者私人的嵌套類,直接暴露他的資料域並沒有本質的錯誤。總之,公有類永遠都不應該暴漏可變的域。雖然還是有幾個問題,但是讓公有類暴漏不可變的域,起危害比較小。但是,有時候需要會用到包級私人的或者私人的嵌套類來暴漏域,無論這個類是可變還是不可變。Demo:package cn.partner4java.test;public class BeanTest {private static final int
The following X++ Code is used to running Object in AOT.remak by Jimmy on 2010-04-08 static void Jimmy_runAOTObeject(Args _args){ TreeNode treeNode; #AOT xInfo xInfo = new xInfo();; treeNode = treeNode::findNode(#FormsPath);
AX Word操作發表於2007-11-8 0:30:03void job(){ #define.wdLine(5) #define.wdCharacter(1) COM word = new COM("Word.Application"); COM documents; COM document; COM selection; str _filename; int intTmp; int k=0; ;