VF中两个数据表的连接为什么总是显示“语法错误”?
例 如:表A和表B,里面都有共同字段:姓名 用以下命令:
sele 1
use 表A
sele 2
use 表B
join with 表A to 新表文件名 for 姓名=表A->姓名
总是提示语法错误
sele 1 USE "c:\program files\microsoft visual studio\vfp98\sxqk.dbf" EXCLUSIVE sele 2 USE "c:\program files\microsoft visual studio\vfp98\xsda.dbf" EXCLUSIVE join with 2 to zzz for 姓名=1->姓名 join with "c:\program files\microsoft visual studio\vfp98\xsda.dbf" to zzz for 姓名=sxqk -> 姓名还是语法错误
sele 2 USE f:\foxpro6.0\vfp98\nn.dbf EXCLUSIVE sele 3 USE f:\foxpro6.0\vfp98\zg.dbf EXCLUSIVE join with f:\foxpro6.0\vfp98\nn.dbf to na for f:\foxpro6.0\vfp98\nn.dbf.姓名==f:\foxpro6.0\vfp98\zg.dbf.姓名join with 'f:\foxpro6.0\vfp98\nn.dbf' to na for 'f:\foxpro6.0\vfp98\nn.dbf'.姓名=='f:\foxpro6.0\vfp98\zg.dbf'.姓名 join with 'f:\foxpro6.0\vfp98\nn.dbf' to na for 2.姓名==3.姓名还是错误呀?