Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add output of query (table) to database
Message
 
 
To
14/11/2002 09:12:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00722641
Message ID:
00722650
Views:
10
You can run select into cursor and than add records to a table. In VFP8 you'll be able to do that in one command INSERT INTO SELECT FROM.
select * from temp into CURSOR crsCatalog
SELECT catalog
APPEND FROM ( DBF("crsCatalog"))
* or if you want to add all records from 'temp'
APPEND FROM ( DBF("temp"))
>hello all
>
>how to add the result of a query into a database where in the table already exist in the database.
>
>eg select * from temp into table catalog database mydbc gives a error message
>
>catalog.dbf already exists as part of a database.
>
>txs
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform