curuserId() 當前用戶ID
curext() 當前公司ID
appl.company().ext() 當前公司ID
fieldid2pname(tablenum(VendTable),fieldnum(VendTable,DlvTerm))) 獲取字段名
setFocus() 獲得焦點
infolog.activateWindow(form.hWnd()) 獲取窗口焦點
currency::curPrice2CurPrice(Price,CurrencyCode,"USD",CurrencyDate) 價格匯率轉換
Currency::curAmount2CurAmount(); 金額匯率轉換
ReSearch() 保留當前過濾條件、排序等,從數據庫中重新刷新數據
executeQuery() 當改變過濾條件、排序等,重新刷取數據
Refresh() 從數據源中讀取記錄
Reread() 從數據庫中讀取記錄
MkDate(01,1,2011) 用三個整數組合返回日期格式數據
infolog.clear(infolog.line())清除提示框信息
dateNull() 返回空日期(1900-01-01)
infolog.language("ZH-HANS") 設置語言
element.newPage() 生成新一頁
sysquery::valueNot() 查詢非值
qr.reset() 查詢游標返回第一條記錄處
dateTimeUtil::newDateTime() 時間日期組合
sysquery::valueNot(dateTimeutil::newDateTime(datenull(),0)) 查詢非空日期條件輸入
fieldId2Ext(FieldNum(EmplTable,Dimension),2) 數組類型獲取字段ID
year(today()) 當前年
mthofyr(today()) 當前月
dayofmth(today()) 當前日
inventTable_ds.object(fieldNum(inventTable,MainMaterial)).allowEdit(False) 數據源對象操作
CompanyInfo::find().CurrencyCode 獲取當前貨幣代碼
this.design(#GL_Blank_DefaultCUR) 報表多個設計時,可根據不同情況設置應用實際設計
global::time2StrHMS(timenow() - start) 時間顯示
checkFailed() 系統彈出錯誤,雙擊錯誤提示時,可以直接跳到錯誤代碼處
DateTimeUtil::date() 獲取時間日期格式中的日期
hasTableAccess(tablenum(SysDataBaseLog),AccessType::Delete) 表權限判斷
isConfigurationkeyEnabled(configurationkeynum(SIG)) 判斷功能是否啟用,配置碼
CompanyInfo::name() 返回公司名稱
element.design().lookupCaption() 返回報表標題
sysquery::findOrCreateRange() 查找或創建查詢范圍
winAPI::fileExists("c:\\wo_mstr.pdf") 判斷文件是否存在
winAPI::deleteFile("c:\\wo_mstr.pdf"); 刪除指定的文件