![]() |
#2
xuminxz2021-05-14 18:39
|
Thisform.LockScreen= .T.
This.RecordSource=""
Wait Windows "凭证数据保存中..." AT Srows()/2,Scols()/2 Nowait
Select Alltrim(帐套)+Alltrim(会计期) AS MyKey FROM Temp_Q_Voucher Noconsole Distinct Into Cursor Temp_PZ_Key
Delete From Voucher Where Alltrim(帐套)+Alltrim(会计期) IN(Select MyKey From Temp_PZ_Key)
Select Voucher
Append From Temp_Q_Voucher
Select Voucher
Use
USE Voucher IN 0 Exclusive
Select Voucher
Pack &&就这个命令,用在WIN10里,通过不了
Select Voucher
USE
IF !Used('Temp_Q_Voucher')
USE Temp_Q_Voucher IN 0 Exclusive
ENDIF
SELECT Temp_Q_Voucher
ZAP
GO TOP
WAIT CLEAR
This.Init()
Thisform.LockScreen= .F.
奇怪的是清空GRID临时表却可以用ZAP命令,没有出错问题。
[此贴子已经被作者于2021-5-14 17:59编辑过]