Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from array
Message
De
07/08/2008 08:58:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01337197
Message ID:
01337199
Vues:
17
>I got PT1 with APRINTERS ( )
>
>then I did as below:
>
>DELETE all
>INSERT INTO tablePrinters FROM ARRAY pt1
>
>But:
>
>I dont want to delete all, because I have some fields I have to preserve
>
>I would like to
>
> 1- Append only new printers (not repeated records)
>
> 2- Delete printers that are on the table, but not in the array anymore
>
>TIA

You can scan the array in a For-next loop.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform