狂送100分(35)

binbin2000 2003-07-22 01:57:46
报表datareport中,修改label的caption属性
请写出代码???
...全文
85 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
wei1027 2003-07-22
  • 打赏
  • 举报
回复
With DataReport1.Sections("Section1")
.Controls("Label1").Caption = "姓名"
.Controls("Label2").Caption = "密码"
End With
wingchi 2003-07-22
  • 打赏
  • 举报
回复
up
lihonggen0 2003-07-22
  • 打赏
  • 举报
回复
象这样:

DataReport1.Sections(2).Controls("LABEL2").Caption = "BBB"

superxmz 2003-07-22
  • 打赏
  • 举报
回复
up不过那个Sections的顺序好像有些问题,使用的时候多观察
penglc 2003-07-22
  • 打赏
  • 举报
回复
楼上快哦,up~~~
lihonggen0 2003-07-22
  • 打赏
  • 举报
回复
DataReport1.Sections(2).Controls("LABEL2").Caption = "BBB"

lihonggen0 2003-07-22
  • 打赏
  • 举报
回复
DataReport1.Sections(1).Controls("LABEL1").Caption = "CCC"

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧