摘要:
1.使DataWindow列只能追加不能修改如何使DataWindow中的数据只能追加新记录而不能修改,利用 Column 的 Protect 属性可以很方便的做到这一点,方法如下:将每一列的 Protect 属性设置为:If( IsRowNew(), 0, 1) )在 PowerScript 中可... 阅读全文
摘要:
例一:CustomName包含客户的First Name和Last Name,它们之间被一个空格隔开。我们用CHARINDX函数确定两个名字中间空格的位置。通过这个方法,我们可以分析ContactName列的空格位置,这样可以只显示这个列的last name部分。select top 5 subst... 阅读全文
摘要:
DataWindow.Processing 判断 DataWindow 对象的类型可用 DataWindow.Processing 判断 DataWindow 对象的类型,dw的类型如下: 0 (Default) Form, group, query, or tabular 1 Grid 2 ... 阅读全文
摘要:
--select*frommaster..sysprocessesusetestdeclaremy_cursorcursorscrolldynamic--scroll表示可以向前或向后移动dynamic:表示可写也可读,forselectF3fromtemp--定义my_cursor游标openmy... 阅读全文
摘要:
//Public function of_ordering_getmiditem (string as_instr,string as_key) returns string //string as_instr//string as_keylong ll_poslong ll_findstring ... 阅读全文
摘要:
//Public function of_ordering_http_get (string as_url) returns string //string as_urllong ll_tempstring ls_refstring ls_errstring responsetext=""oleob... 阅读全文
摘要:
//Public function of_ordering_http_post (string as_vipsj,string as_url) returns string //string as_vipsj//string as_urllong ll_tempstring ls_refstring... 阅读全文
摘要:
//Public function of_ordering_json (string as_json,ref string as_jsons[]) returns integer //string as_json//string as_jsons[]long ll_posstring ls_json... 阅读全文
该文被密码保护。 阅读全文
摘要:
编程过程中想在窗口中加一个下拉列表(DDLB),原来听同学说过可以动态改变下拉列表的值,数据库中的表改变,前台客户端的下拉列表就会变,记得当时同学说的是用一个叫下拉数据窗口(DDDW)的东西做的,一直没试过,今天遇到了这样的问题,想试一下,于是在网上查找例子,但似乎都不合我的意,下面简单说下需求:涉... 阅读全文