Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[建议]能否增加一个插入列的方法

1楼
ybil 发表于:2011/7/13 9:03:00
统计时,往往需用Add  增加临时列 ,通过设置表达式统计数据,
但Add增加的列总跑到表后面,要想达至理想的效果,还要结合Move(效率较低)

能否增加一个插入列的方法:


Insert(Index,ColumnName, GetType(Type))
Insert(Index,ColumnName, GetType(Type), Expression)
Insert(Index,ColumnName, GetType(Type), Expression, Caption)
Insert(Index,ColumnName, GetType(Type), MaxLength)
Insert(Index,ColumnName, GetType(Type), MaxLength, Expression)
Insert(Index,ColumnName, GetType(Type), MaxLength, Expression, Caption)
2楼
狐狸爸爸 发表于:2011/7/13 9:31:00

呵呵,就用Move吧,增加和移动列的代码放在StropRedraw和ResumeDraw中。

因为增加列是针对DataTable的,本没有顺序的.

3楼
ybil 发表于:2011/7/13 10:36:00
我习惯用Select 正列,正列 As ,正列 As ,正列 As 乱造列 From {A}


               
共3 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02734 s, 2 queries.