Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy from one dbc!table to another
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Copy from one dbc!table to another
Divers
Thread ID:
00270930
Message ID:
00270930
Vues:
53
VFP6/SP3

I am trying to iterate over a table in one DBC and insert those records into a table in a second DBC. The code looks like this (which doesn't work, can you help me ill in the holes):

set datasession to 1
use dbc1!table1 in 0
use dbc2!table1 in 0
set database to dbc1
select dbc1!table1
scan
scatter memvar
insert into dbc2!table1 from memvar
endscan

Help!

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform