当前位置: 代码迷 >> VFP >> optiongroup1控件使用有关问题
  详细解决方案

optiongroup1控件使用有关问题

热度:2216   发布时间:2013-02-26 00:00:00.0
optiongroup1控件使用问题
想使用optiongroup1对数据库文件进行命名,添加了 option1~option12,如选择了option1,点击确定之后,将201201.dbf复制到data.dbf中,如选择了option2,点击确定之后,将201202.dbf复制到data.dbf中,以此类推,选择了option12,点击确定之后,将201212.dbf复制到data.dbf中

请问这个命令怎么写?

------解决方案--------------------------------------------------------
ts = '2012'+Padl(thisform.optiongroup1.value,2,'0')
Use data 
Append From '&ts..dbf'
  相关解决方案