_cArqSeq:= "FOR2ACSP" //onde usar este parâmetro na FMWTemporaryTable //dbUseArea(.T.,,_cArqSeq,"TRD",.F.,.F.) //IndRegua("TRD",_cArqSeq,"CNPJ",,,"Selecionando Registros...")
If oTableXTRD <> Nil oTableXTRD:Delete() oTableXTRD := Nil Endif
oTableXTRD := FWTemporaryTable():New( "TRD" ) oTableXTRD:SetFields(aFornec) oTableXTRD:AddIndex("01", {"CNPJ"} ) oTableXTRD:Create()