Other Functions

  • Edit

under construction

 

script

DataSetCount

script1

script2

DSum

VSum

AutoNum

GetEventAutoNum

AddDays

CurrentPnlRow

SubtHrs

getprinter

replace_in_code

GetApplParameter

LookUp

LLookUp

TLocate

QueryRecNo

GetProgressBar

 

GetEditBox ( edit_box_name )
Returns the id of the named edit box

  

GetControl ( control_name )
Returns the id of the named control (button)

 

LoadFromClipboard()
Returns the string that is stored into the system clipboard (usually by SaveToClipboard)

GetDataName

GetTableName

TGetBookmark

SaveDataToExcel

GetLst

GetLstItem

GetEditText

get_datafield

get_float_from_code

get_str_from_code

get_first_list_item

get_last_list_item

MatchPattern1

FrancoLev

GetIsotNearest

SysDbGet

GetUserName

GetXRHSH_ID

GetETAIR_ID

CursorTableName

CursorRecordID

GetDataCName

GetDataValue

GetPageDisplayer

GetOmadLine

CreateComp

GetResName

OpenOmrReader

GetOmrItem

GetResInfo

GetCursorPosX

GetCursorPosY

DPanels

TbGetFld

TbEOF

TbSeek

TGetConnection

GetEdit

LoadDatFile

AskExpert'

AskAgent

html_gettext

smtp_create

SelectCObjChilds

GetCObjChild

GetCObjValue

CreateCObjObject


Escape ( asc1, asc2, asc3, ... , -1)

Returns a string that is the sequence of ascii numbers. The sequence is terminated by -1.
For example the Escape(13,10,-1) 
returns the ascii character sequence 13, 10 (new line).


InsertInto ( tname, fname1, fval1, fname2, fval2, ...., "")

This function inserts a record to the tname database table by providing also pairs of field names and field values. The sequence stops by the first blank ("") field name. The value returned is the unique key value of the inserted record.

cmdexecute ( drive, command )

This function executes an entire series of commands given by the procedure cmdline. The value returned is the message returned by the system upon the execution of command.
The "drive" gives the active disk.
Another option is to be this a single line call to cmdexecute.
The command argument can be empty, given that a series of cmdline procedures give the entire body of commands to be executed.
For examele:

call cmdline("CD\")
call cmdline("CD C:\KOSMOS")
msg = cmdexecute("C:\", "COPY KOSMOS.EXE KOSMOS3.EXE")
call message(msg)