请教 临时表建立 一对多 临时关系
有两张临时表通过select语句生成。select * from 表A into cursor temp1
select * from 表B into cursor temp2
表A、表B里有字段“序号”。
想建立temp1 和 temp2的 临时一对多关系
select temp1
set relation to 序号 into temp2
set skip to temp2
运行时,报错提示“temp2”没有与当前工作区建立关系。
打开数据工作期,可以看到temp1 和 temp2 已经建立一对一。
在set skip to temp2 这句报错。
有大神能帮忙看看问题出在哪里吗?
谢谢
