Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select Into Table ... AddTive ?
Message
De
14/08/2002 07:34:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Select Into Table ... AddTive ?
Divers
Thread ID:
00689477
Message ID:
00689477
Vues:
60
Hi ,

I want make , perphaps 100 or more , Select , but i need results , in same Table . It´s possible ?
Select CurCli
GO TOP
SET FILTER TO CurCli.Selecciona = .T.
GO TOP

DO WHILE .NOT. Eof()
	IF Upper(AllTrim(CurCli.origem)) = "FACTDOC"   && FACTURA
	
	nNumDoc = CurCli.NumDoc
	Select LinhaFac
	GO TOP
	SELECT * FROM LinhaFac INTO TABLE TmpLinFacX WHERE NumDoc = nNumDoc 
	
&& I don´t want a new TmpLinFacX , i need write in end TmpLinFacX ( additive)
	
	ENDIF
	
	Select CurCli
	SKIP
	IF Eof()
		EXIT
	ELSE
		LOOP
	ENDIF		

ENDDO


Selec TmpLinFac
DELETE ALL
APPEND FROM TmpLinFacX
Thanks
Have a nice day


Pedro Silva

world is wonderful with your help .

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform