Commonly used WINAPI function

curuserId () current user ID
curext () Current Company ID
appl.company (). ext () Current Company ID
fieldid2pname (tablenum (VendTable), fieldnum (VendTable, DlvTerm))) Gets the field name
setFocus () gets focus
infolog.activateWindow (form.hWnd ()) focus acquisition window
currency :: curPrice2CurPrice (Price, CurrencyCode, "USD", CurrencyDate) Price Currency Converter
Currency :: curAmount2CurAmount (); Amount Currency Converter
Research () retain the current filter condition, sorting, data refresh from the database
executeQuery () when changing the filter condition, sorting, data re brushings
Refresh () reads records from a data source
The Reread () is read from the database
MkDate (01,1,2011) with three return date combination integer data format
infolog.clear (infolog.line ()) to clear the Alert box information
dateNull () returns an empty date (1900-01-01)
infolog.language ( "ZH-HANS") set the language
element.newPage () to generate a new one
sysquery :: valueNot () the value of non-inquiry
qr.reset () query returns the first record at the cursor
dateTimeUtil :: newDateTime () the date and time combination
sysquery :: valueNot (dateTimeutil :: newDateTime (datenull (), 0)) Date of non-empty query condition input
fieldId2Ext (FieldNum (EmplTable, Dimension), 2) Get the type of the field ID array
year (today ()) Current Year
mthofyr (today ()) Current Month
dayofmth (today ()) of the current day
inventTable_ds.object (fieldNum (inventTable, MainMaterial)). allowEdit (False) operation data source object
CompanyInfo :: find (). CurrencyCode get the current currency code
this.design (#GL_Blank_DefaultCUR) a plurality of report design, practical design applications may be provided depending on the circumstances
global :: time2StrHMS (timenow () - start) time display
checkFailed () system pop-up error, double-click the error, the error code can jump directly to the
DateTimeUtil :: date () Date Gets the date and time format
hasTableAccess (tablenum (SysDataBaseLog), AccessType :: Delete) table right judgment
isConfigurationkeyEnabled (configurationkeynum (SIG)) determines whether the feature is enabled, the configuration code
CompanyInfo :: name () Returns the name of the company
element.design (). lookupCaption () Returns the report title
sysquery :: findOrCreateRange () to find or create a query range
winAPI :: fileExists: if ( "c \\ wo_mstr.pdf") to determine the file exists
winAPI :: deleteFile ( "c: \\ wo_mstr.pdf"); delete the specified file

Guess you like

Origin www.cnblogs.com/xtwkh1973/p/10990292.html