Can someone please explain me about this below process. Specially USE IN and NOT USED.
Thank you
Code:
Use In Select('tempdetl')
SELECT Batch_no
SCAN
TEXT TO stra NOSHOW
SELECT nPoDtlID,nBatchInvId FROM MAS.dbo.Acp_Invoice_Dtl WHERE nPoDtlID=?Batch_no.nPoDtlID
ENDTEXT
SQLEXEC(hndOps,stra,'_Tempd')
If NOT Used('tempdetl')
Select * From _Tempd Into Cursor tempdetl READWRITE
Else
SELECT tempdetl
APPEND FROM DBF('_Tempd')
Endif
ENDSCAN
Thank you