Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select Into Table ... AddTive ?
Message
From
14/08/2002 07:34:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Select Into Table ... AddTive ?
Miscellaneous
Thread ID:
00689477
Message ID:
00689477
Views:
61
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 .

Next
Reply
Map
View

Click here to load this message in the networking platform