Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transferring data from 1 table to another
Message
De
08/05/2008 17:22:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Transferring data from 1 table to another
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01315964
Message ID:
01315964
Vues:
55
O.K. so I have an inventory database which I have designed and I need to move records from 1 table to another, the issue is there are certain fields that will not transfer. The code I was working with (Thanks Naomi N.) was correct for transferring a whole record. My problem is where would the except clause get inserted with the scatter command?

I have searched VFP help and the examples therein only exist to confuse

the code is as follows:
scatter name loRecord memo
insert into mynewtable from name loRecord &&(verify this syntax,)
delete from myoldtable where ID = loRecord.ID
If anyone has any ideas thanks in advance

Thanks

Fred W.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform