主题:set relation to错误:表没有设置排序索引
请看代码:
mfile='W'+_yymm
IF !USED('employee')
USE employee ORDER sno IN 0
endif
USE &mfile ORDER sno ALIAS workpay IN 0
SELECT workpay
*错误提示:表没有设置排序索引/
SET RELATION TO sno INTO employee
请问老师,这是什么原因呢?
mfile='W'+_yymm
IF !USED('employee')
USE employee ORDER sno IN 0
endif
USE &mfile ORDER sno ALIAS workpay IN 0
SELECT workpay
*错误提示:表没有设置排序索引/
SET RELATION TO sno INTO employee
请问老师,这是什么原因呢?