Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving Data From a View or a Grid to a Table
Message
De
16/08/1998 20:19:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127271
Message ID:
00127285
Vues:
33
>If you're planning to append the data as new records in a table, then either INSERT or APPEND will do. Use the RecordSource of the grid, and SCAN it (or use a do while loop if it's faster) adding the data one record at a time if any field needs to be changed. If it's just a matter of adding all data in cursor/view/table A to table B, use APPEND FROM.
>

APPEND FROM is what I want to do. It is a view. I can't seem to get the syntax correct.

I have tried:
SELECT EquipMeter
APPEND FROM ThisForm.Grid1.RecordSource

and
SELECT EquipMeter
APPEND FROM ThisForm.Grid1.RecordSource()

Many thanks for your help.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform