Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record -> Array -> New Table Record
Message
De
09/02/2010 12:25:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01448369
Message ID:
01448397
Vues:
66
This message has been marked as a message which has helped to the initial question of the thread.
>Good morning, Gang!
>
>My question today is...........
>
>I have a record in a picklist table which has customers in it.
>
>I am going to pick one record from this picklist....
>
>I wish to put all the fields of this record into an array laCustomerArray
>
>Then, I wish to place these values into a new record into the customer table.
>
>So, my question is....
>
>a) Was there a command to "scatter" a record into an array?
>
>b) Is there a command to "gather" this array into a new record in another table?
>
>Thanks!

Don't use an array. Use SCATTER NAME and GATHER NAME instead; that will work through a kind of object. That means you have a single variable for the entire record.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform