易表在线答疑技术与交流用户社区 → 关于去掉空格的问题


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

主题:关于去掉空格的问题

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


加好友 发短信
等级:超级版主 帖子:16190 积分:125850 威望:1 精华:0 注册:2006/8/12 12:29:00
  发帖心情 Post By:2011/5/26 17:14:00 [显示全部帖子]

按钮公式
Eval("EvalFor(GridName,"""+Substitute(Substitute(Eval("Substitute(""|@|"",""|"","""+Substitute(ListCols(GridName),"|",""")+""|""+Substitute(""|@|"",""|"",""")+""")"),"@",""",""Substitute(["),"|","],Char(9),"""""""")"") And EvalFor(GridName,""")+"],Char(9),"""""""")"")")

 回到顶部
帅哥哟,离线,有人找我吗?
wjq1072
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:16190 积分:125850 威望:1 精华:0 注册:2006/8/12 12:29:00
  发帖心情 Post By:2011/5/26 18:16:00 [显示全部帖子]

这样试试?
Eval("EvalFor(GridName,"""+Substitute(Substitute(Eval("Substitute(""|@|"",""|"","""+Substitute(ListCols(Grid),"|",""")+""|""+Substitute(""|@|"",""|"",""")+""")"),"@",""",""Substitute(Substitute(Substitute(["),"|","],Char(9),""""""""),""""  """",""""""""),"""" """","""""""")"") And EvalFor(GridName,""")+"],Char(9),""""""""),""""  """",""""""""),"""" """","""""""")"")")

 回到顶部