因为专业所以放心

学习是没有起点和终点的......

  BlogJava :: 首页 :: 联系 :: 聚合  :: 管理
  15 Posts :: 0 Stories :: 1 Comments :: 0 Trackbacks

FormDataSource salesTable_ds   ;
salesTable_ds   = _salesTable.dataSource();
localSalesTable = salesTable_ds.getNext();
--------------------------
INSERT_RECORDSET myTable (myNum,mySum)

SELECT myNum, SUM(myValue) FROM anotherTable GROUP BY myNum WHERE myNUM <= 100;
---------------------------
return [#CurrentVersion, #CurrentList];
---------------------------
if (typeof(conPeek(packedClass,1)) != Types::INTEGER)
---------------------------
new MenuFunction(menuItemDisplayStr(SalesTable), MenuItemType::Display).run(args);
---------------------------
Query querySalesTable;
    querySalesTable.dataSourceTable(tableNum(SalesTable)).addRange(fieldNum(SalesTable, InterCompanyOrder)).value(queryValue(NoYes::Yes));
---------------------------
Common      common;
    ;
    this.handleDeleteActions(sysDictTable);
    common = sysDictTable.makeRecord();

    common.skipDatabaseLog(true);
    common.skipDataMethods(true);
    common.skipDeleteActions(true);
    delete_from common;
----------------------------
Dictionary      dictionary = new Dictionary();
tableId = dictionary.tableNext(tableId);
----------------------------
tableNum(SalesTable):
----------------------------
MyTable myTable;
RecordInsertList insertList = new RecordInsertList(myTable.TableId, True);
int i;
for ( i = 1; i <=  100; i++ )
{
myTable.value = i;
insertList.add(myTable);
}
insertList.insertDatabase();
}
-----------------------------
int p2 = strFind(line,' ',p1,strLen(line));
return subStr(line,p1,p2-p1);
----------------------------------
 if (o && (o.handle() == classIdGet(fr))
--------------------------------
return (dictFeatureKey.rights() != AccessType::NoAccess) ? true : false;
-------------------------------
kmQuestion.answerInputType      = KMQuestionAnswerInputType::CheckBox;
kmQuestion.answerInputType      = KMQuestionAnswerInputType::ComboBox;
kmQuestion.answerInputType  = KMQuestionAnswerInputType::RadioButton;
kmQuestion.answerInputType      = str2Int(kmQuestion.DEL_answerModeSelection);
--------------------------------
select sum(correctAnswer) from KMVirtualNetworkAnswerLine
        group by kmVirtualNetworkAnswerTableId, kmQuestionResultGroupId
--------------------------------
kmConnectionType.refFieldId = fieldNum(HRMCourseTable, description);
--------------------------------
segment += ':' + date2str(_date,321,2,0,2,0,4)+ subStr(time2str(_time,1,1),1,2) +
                         subStr(time2str(_time,1,1),4,2) + subStr(time2str(_time,1,1),7,2);
--------------------------------
Dialog   dialog            = new Dialog("@SYS73363");
DialogField     dlgClassTypeName  = dialog.addField(typeId(className));
Editor editor
--------------------------------
 filename = WinAPI::getSaveFileName(0, ['Text','*.txt'], '', "@SYS56237", 'txt', defaultName );
    if (filename)
    {
        io = new AsciiIo(filename, 'W');
        io.write(EditorScripts::getSelectedText(e));
    }
---------------------------------
switch (version)
    {
        case(#CurrentVersion) :
            [version,#CurrentList,packedQuery] = packedClass;
            if (packedQuery)
                qr = new QueryRun(packedQuery);
            break;
        default :
            return false;
    }
--------------------------------
select workCalendarDateLine
                index CalendarDateFromIdx
                where workCalendarDateLine.calendarId   == calendarId
                   && workCalendarDateLine.transDate    == transDate
---------------------------------
#define.dateFormat('DD/MM/YYYY hh:mm:ss')
default:
            warning(strFmt("@SYS24561",classIdGet(gantt)));
--------------------------------
 AsciiIo logFile = new AsciiIo(#VTHeapLog, 'a');
    ;
    logFile.write(this.prompt('  Unfreed object'), conPeek(data,2));
--------------------------------
select firstonly ledgerPeriod
        order by periodStart desc
        where ledgerPeriod.periodStart  <= _transDate   &&
              ledgerPeriod.periodCode   == _periodCode;
---------------------------------
client server static boolean checkFailed(SysInfoLogStr txt, URL helpURL = '', SysInfoAction _sysInfoAction = null)
{
    if (BMMainControl::inAction())
        appl.BMaddInfo(Exception::Info,txt);
    else
        infolog.add(Exception::Warning, getprefix()+txt, helpURL, _sysInfoAction, false);
    return false;
}
------------------------------------
switch(itemCode)
    {
        case TableGroupAll::Table       :   return item;
        case TableGroupAll::GroupId     :   return groupId;
        case TableGroupAll::All         :   return '';
    }
TableGroupAll::Table//是个枚举类型(base enum)
------------------------------------
void  new(CurrencyCode  _currencyCode)
{;
    currencyCode            = _currencyCode;
    exchRate                = 0;
    exchrateSecondary       = 0;
    exchRatesTriangulation  = UnknownNoYes::Unknown;
}
//当建立一个对象的时候会调用此方法
------------------------------------

posted on 2006-08-12 11:22 舞熙 阅读(456) 评论(0)  编辑  收藏 所属分类: 程序设计语言

只有注册用户登录后才能发表评论。


网站导航: