Description: 房产管理系统,包含论文设计与源代码编写。使用PB编写与SQL Server数据库-Property management system, including papers prepared by the design and source code. The use of PB prepared with the SQL Server database Platform: |
Size: 2381824 |
Author:神风男孩 |
Hits:
Description: 基于PowerBuilder语言编写的物业管理系统-PowerBuilder-based property management system written in languages Platform: |
Size: 244736 |
Author:bloodwolf |
Hits:
Description: Powerbuilder快捷显示或隐藏文档,属性为隐藏的文档-Quickly show or hide the document, the document property is hidden Platform: |
Size: 4096 |
Author:独孤浪子 |
Hits:
Description: PB DataWindow 38个技巧.txt
1. 使DataWindow列只能追加不能修改
如何使DataWindow中的数据只能追加新记录而不能修改,利用 Column 的 Protect 属性可以很方便的做到这一点,方法如下:
将每一列的 Protect 属性设置为:
If( IsRowNew(), 0, 1) )
在 PowerScript 中可以动态修改 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 PowerScript:
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.) Platform: |
Size: 8192 |
Author:ztzheng
|
Hits: