Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange APPEND FROM problem
Message
 
 
À
28/03/2006 08:54:04
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01108188
Message ID:
01108334
Vues:
12
>Of all the suggestions made here, the one that has worked best for me across all versions of VFP is
>
>select * from cursor you want to append from into cursor c_AddThese NOFILTER
>
>select targetcursor
>append from dbf("c_AddThese")
>
>That's because the select * command allows you to join from many tables, do filtering and change field names to match the target cursor all in one step.
>
>The final append from command is as simple as it can get.

Mike,

Thank you for your suggestion. I might try it and compare with the one INSERT-SQL command. My main goal is to make the resulting cursor filled as fast as possible. Secondly, if I switch the database to SQL Server, I would like to make the code work there (I am sure with some minor modifications) too. I don't think APPEND FROM is a valid syntax in SQL Server, although I may be mistaken.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform