Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create VFP table from SQL Server table
Message
 
À
20/01/2006 06:06:15
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01088809
Message ID:
01088817
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>Does anyone know of a way to create a VFP table from a SQL Server table?
>
>TIA,
SQLEXEC(sqlH, "SELECT * FROM SqlTable WHERE 1=0","crsVFPCursor")
SELECT crsVFPCursor

** 1.Using AFields
    AFIELDS(laFlds)
    CREATE TABLE MyVfpTable FROM ARRAY laFlds

** 2. Just copy
   COPY crsVFPCursor TO MyVfpTable && See HELP for details
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform