Foxtable(狐表)用户栏目专家坐堂 → 列拆分


  共有40人关注过本帖树形打印复制链接

主题:列拆分

帅哥哟,离线,有人找我吗?
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:112401 积分:572273 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2025/2/25 9:43:00 [显示全部帖子]

http://www.foxtable.com/webhelp/topics/0625.htm

DataColChanged事件
If e.DataCol.Name = "A列" Then
    
If e.NewValue > "" Then 
      dim ss() as string = 
e.NewValue.split("|") 'http://www.foxtable.com/webhelp/topics/0245.htm
 e.DataRow("B列") = ss(0)
if ss.length > 1 then
 e.DataRow("C列") = ss(1)
end if
if ss.length > 2 then
 e.DataRow("D") = ss(2)
end if
    
End If
End
 
If

已有数据在输入表事件代码后,重置一下A列
[此贴子已经被作者于2025/2/25 9:43:42编辑过]

 回到顶部