| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 520 人关注过本帖
标题:[求助]请教text里添加的内容不能为空的代码.
只看楼主 加入收藏
whobaba
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2006-6-26
收藏
 问题点数:0 回复次数:1 
[求助]请教text里添加的内容不能为空的代码.
1个text(编号),1个command(增加),然后运行时可以在text里添加内容,但text的内容不能为空,请问以下的command的click事件有什么问题?
if len (allt(this.parent.parent.text1.value)) = 0 then
go bottom
dele
pack
wait window"编号不能为空" timeout 1
endif
append blank
thisform.refresh
搜索更多相关主题的帖子: text 代码 
2006-06-29 22:55
Tiger5392
Rank: 12Rank: 12Rank: 12
等 级:贵宾
威 望:88
帖 子:2775
专家分:2237
注 册:2006-5-17
收藏
得分:0 
if len (allt(this.parent.parent.text1.value)) = 0 then
go bottom
dele
pack
wait window"编号不能为空" timeout 1
else
append blank
replace 字段名1 with this.parent.parent.text1.value &&,.........
endif
thisform.refresh

感言:学以致用。 博客:http://www./blog/user14/65009/index.shtml email:Tiger5392@
2006-06-29 23:45
快速回复:[求助]请教text里添加的内容不能为空的代码.
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018513 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved