Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scatter field!!
Message
De
05/06/1997 13:17:40
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00035241
Message ID:
00035243
Vues:
32
>When you 'scatter field' from one table and then 'append' to another table, does the order of the field name from both tables matter??
>
>
>select temp
>
>scatter field like lastname, firstname to array
>select table
>append blank
>gather from array
>
>if I have the field name revert (firstname come first) in 'table' does it screw up the lastname and the firstname??

If you scatter to/gather from array, the order does matter.

But don't use gather anyway...and don't use field skeletons either.

Try something like this...

SCATTER FIELDS field2, field1, field4 TO array
SELECT newtable
APPEND FROM ARRAY array FIELDS fielda, fieldb, fieldc

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform