读书人

[]可以用变量来表示表的名称么

发布时间: 2012-02-19 19:43:38 作者: rapoo

[求助]可以用变量来表示表的名称么?
比如:tablename="新表"
copy stru to tablename

select * from tablename

这样的!

[解决办法]
tablename="新表"
copy stru to '&tablename.'

select * from '&tablename.'



copy stru to (tablename)

select * from (tablename)

读书人网 >VFP

热点推荐