use b1
gnDbcnumber = ADIR(gaDatabase, '*.DBf')
FOR nCount = 1 TO gnDbcnumber
insert into b1 values (gaDatabase(nCount,1))
ENDFOR
gaDatabase 是一个二维数组
或者
use b1
gnDbcnumber = ADIR(gaDatabase, '*.DBf')
local aa[gnDbcnumber]
FOR nCount = 1 TO gnDbcnumber
aa[nCount]=gaDatabase(nCount,1)
ENDFOR
insert into b1 from array aa
[ 本帖最后由 sdta 于 2015-5-9 21:37 编辑 ]
gnDbcnumber = ADIR(gaDatabase, '*.DBf')
FOR nCount = 1 TO gnDbcnumber
insert into b1 values (gaDatabase(nCount,1))
ENDFOR
gaDatabase 是一个二维数组
或者
use b1
gnDbcnumber = ADIR(gaDatabase, '*.DBf')
local aa[gnDbcnumber]
FOR nCount = 1 TO gnDbcnumber
aa[nCount]=gaDatabase(nCount,1)
ENDFOR
insert into b1 from array aa
[ 本帖最后由 sdta 于 2015-5-9 21:37 编辑 ]
坚守VFP最后的阵地