这段代码什么意思?
一下是控制报表每页打印50条记录的代码,网上看到的加入表为TEMP
local DetailNum
DetailNum = 50
SELECT * FROM tempsintostable tmp1swheres DELETED() ***这里出错,SQL有这样用法吗?
SELECT INT((RECNO()-1)/detailnum) as groupcount;
FROM tmp1 sintocursor temp2
USE IN tmp1
DELETE FILE tmp1.dbf
IF FILE("tmp1.fpt")
DELETE FILE tmp1.fpt
endif