选中需要锁定的行列使用组合键{Ctrl}+{L},解锁使用{Ctrl}+{U};也可以通过函数ReportSetLock进行报表行列的锁定;ReportSetLock
此函数为报表专用函数,用于锁定报表的前nRow行和nCol列,语法格式使用如下:
BOOL ReportSetLock(constCHAR* ReportName,BOOL is_enable,intnRow,intnCol)
参数说明:const CHAR* ReportName:报表名称。BOOL is_enable:是否锁定行列,为TRUE时执行锁定操作;为Fales时,执行取消锁定操作。intnRow:锁定的行数,intnCol:锁定的列数。
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-