文件名称:PB DataWindow 38个技巧
介绍说明--下载内容均来自于网络,请自行研究使用
PB DataWindow 38个技巧.txt
1. 使DataWindow列只能追加不能修改
如何使DataWindow中的数据只能追加新记录而不能修改,利用 Column 的 Protect 属性可以很方便的做到这一点,方法如下:
将每一列的 Protect 属性设置为:
If( IsRowNew(), 0, 1) )
在 Powerscr ipt 中可以动态修改 Protect 属性:
dw_1.Modify("column_name_here.Protect='1~tIf(IsRowNew(),0,1)'")
这样,DataWindow 中只有新追加的记录可修改,而其他记录是只读的。(PB DataWindow 38 skills.Txt
1. make DataWindow columns append only and cannot be modified
How to make the data in DataWindow only append new records and can not be modified, the use of the Column attribute of Protect can be very convenient to do this, the method is as follows:
Set the Protect property of each column to:
If (IsRowNew (), 0, 1)
You can dynamically modify the Protect attribute in Powerscr ipt:
Dw_1.Modify ("column_name_here.Protect='1~tIf (IsRowNew (), 0,1) '")
In this way, only additional records can be modified in DataWindow, while other records are read-only.)
1. 使DataWindow列只能追加不能修改
如何使DataWindow中的数据只能追加新记录而不能修改,利用 Column 的 Protect 属性可以很方便的做到这一点,方法如下:
将每一列的 Protect 属性设置为:
If( IsRowNew(), 0, 1) )
在 Powerscr ipt 中可以动态修改 Protect 属性:
dw_1.Modify("column_name_here.Protect='1~tIf(IsRowNew(),0,1)'")
这样,DataWindow 中只有新追加的记录可修改,而其他记录是只读的。(PB DataWindow 38 skills.Txt
1. make DataWindow columns append only and cannot be modified
How to make the data in DataWindow only append new records and can not be modified, the use of the Column attribute of Protect can be very convenient to do this, the method is as follows:
Set the Protect property of each column to:
If (IsRowNew (), 0, 1)
You can dynamically modify the Protect attribute in Powerscr ipt:
Dw_1.Modify ("column_name_here.Protect='1~tIf (IsRowNew (), 0,1) '")
In this way, only additional records can be modified in DataWindow, while other records are read-only.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PB DataWindow 38个技巧.txt