Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to block 1 field from APPEND FROM
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to block 1 field from APPEND FROM
Divers
Thread ID:
00389759
Message ID:
00389759
Vues:
65
I am trying to append data from various files of varioius formats. for now: dbf, txt, cvs and txt.

I want to block my primary key field from the fields being appended. I have a default set for it, and that is what I want to assign pk's. the rest of the fields (name, addr...) I want to append from.

If the source is dbf, I don't know what fields will and won't be there, so I can't just list out all the fields in the destination table (less the pk), because they may not exist in the source.

I have tried using
SET FIELDS TO ALL EXCEPT PKAD

but the APPEND FROM command seams to ignore it.

APPEND FROM (LCFILNAM) FIELDS ALL EXCEPT PKAD

is a syntax error.

anyone got any interesting ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform