titpop内置函数大全 联系客服

发布时间 : 星期三 文章titpop内置函数大全更新完毕开始阅读b3961302312b3169a451a498

传入参数:lc_frm_name 画面名称 回传值:none

用法:CALL cl_set_win_title(‘aimt370’)

函式名称:cl_setup 程序名称:cl_setup.4gl

用途:程序执行的基本设定

传入参数:ps_module 模块代号 回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:CALL cl_setup(\

函式名称:cl_show_array 程序名称:cl_show_array.4gl 用途:开窗显示array 内容

传入参数:pnode_array 传入base.TypeInfo.create(array 变数) ps_win_title 作为画面上方的title 字符串

ps_title_str 作为table 中各字段Title 的字符串,转好多语言 后,

请用\组合传入 回传值:none

用法:CALL (base.TypeInfo.create(g_azb),\签核人员列表\签核人员| 密码|金额\

函式名称:cl_show_fld_cont 程序名称:cl_show_fld_cont.4gl

用途:设定p_per 内有特殊格式设定的字段 1. 汇率显示:rate(币别字段)

2. textEdit 明细显示:show_fd_desc

3. 金额逗号:amt --不在此function 控制

4. 对象多语系名称:show_itme(参照table,参照栏名,key 序列, per 档上字段名称) [2.0]

5. 多单位字段显示:multi_unit(数量二字段,单位二字段,换算率 二字段,数量一字段,单位一字段,换算率一字段,采购单位栏 位,料件编号字段) [2.0] 传入参数:none 回传值:none

用法:CALL cl_show_fld_cont()

函式名称:cl_show_help 程序名称:cl_show_help.4gl 用途:显示程序的说明档案 传入参数:None 回传值:None

用法:CALL cl_show_help()

函式名称:cl_show_req_fields 程序名称:cl_show_req_fields.4gl

用途:显现画面上需要输入却未输入的所有字段 传入参数:None 回传值:None

用法:CALL cl_show_req_fields()

函式名称:cl_sure 程序名称:cl_sure.4gl

用途:询问\是否确定执行本作业(Y/N):\传入参数:p_row,p_col 回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:IF cl_sure(0,0)

函式名称:cl_sure3 程序名称:cl_sure3.4gl

用途:询问\您所输入的数据是否正确(Y/N)?\传入参数:p_row,p_col 回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:IF cl_sure3(0,0)

函式名称:cl_trans_xml 程序名称:cl_trans_xml.4gl 用途:转换xml 档案

1:excel , 2:html , 3:callViewer, 4:txt , 5:html2pdf , 6:word 传入参数:xml_name 要转换的xml 档案 output_type 转换格式 回传值:none

用法:CALL cl_trans_xml(\

函式名称:cl_download_file 程序名称:cl_transfer_file.4gl

用途:Transfer file from Server to Client

传入参数:ps_source STRING Source file path ps_target STRING Destination file path 回传值:1 FOR TRUE 成功 0 FOR FALSE 失败

用法:CALL cl_download_file(\

函式名称:cl_upload_file

程序名称:cl_transfer_file.4gl

用途:Transfer file from Client to Server

传入参数:ps_source STRING Source file path ps_target STRING Destination file path

回传值:1 FOR TRUE 成功 0 FOR FALSE 失败

用法:CALL cl_upload_file(\

函式名称:cl_browse_file 程序名称:cl_transfer_file.4gl

用途:Open a file dialog to get a file on Client 传入参数:none

回传值:file STRING - selected file path or NULL means cancel selection 用法:CALL cl_browse_file() 函式名称:cl_browse_dir 程序名称:cl_transfer_file.4gl

用途:Open a directory dialog to get a directory on Client 传入参数:none

回传值:directory STRING - selected directory or NULL means cancel selection

用法:CALL cl_browse_dir()

函式名称:cl_server_file

程序名称:cl_transfer_file.4gl

用途:Open a directory dialog to get a file on Server 传入参数:Default starting path

回传值:file STRING - selected directory or NULL means cancel selection 用法:CALL cl_server_file()

函式名称:cl_ui_init 程序名称:cl_ui_init.4gl 用途:程序设定初始化 传入参数:None 回传值:None

用法:CALL cl_ui_init()

函式名称:cl_ui_locale 程序名称:cl_ui_locale.4gl 用途:转换语言别

传入参数:pc_frm_name 画面名称(NULL→预设名称:g_prog) 回传值:None

用法:CALL cl_ui_locale()

函式名称:cl_upsw

程序名称:cl_upsw.4gl

用途:询问\是否确认此张异动单据(Y/N)? \\是否取消确认此张异动单据(Y/N)? \传入参数:p_row,p_col p_upsw Y:确认 N:取消确认

回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:if cl_upsw(0,0,p_upsw)

函式名称:cl_used 程序名称:cl_used.4gl

用途:计录各程序实际被执行的状况 传入参数:p_code - 程序代号 time1 - 起始执行时间

sw - 1:执行开始,RETURN TIME 2:执行结束 回传值:time

用法:call cl_used(p_code,time1,sw) call cl_used('aom2020','09:30','1') call cl_used('aom2020','09:40','2')

函式名称:cl_user 程序名称:cl_user.4gl

用途:设定关于用户与系统公用变量的设定 传入参数:none

回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:CALL cl_user()

函式名称:cl_userdefined_field_check 程序名称:cl_userdefined_field.4gl 用途:检查自订字段值

传入参数:pc_fldname 自订字段名称 ps_value 自订字段值 回传值:1 FOR TRUE 是 0 FOR FALSE 否

用法:CALL cl_userdefined_field_check(\RETURNING li_result

函式名称:cl_userdefined_field_query 程序名称:cl_userdefined_field.4gl 用途:自订字段开窗

传入参数:pc_fldname 自订字段名称