Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connect to SQL Server
Message
De
08/10/2002 16:16:08
 
 
À
08/10/2002 14:45:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00708932
Message ID:
00708989
Vues:
22
David,

>What is the quickest way to query records from a SQL Server table?

Try this sequence:
 nSQLHandle = SQLconnect (cSQLDataSource, cSQLUserId, cSQLPassword)

 If nSQLHandle = -1
    << your error handling routine >>
 endif
 
 cSQLString = "Select ... From ..."

 SQLexec (nSQLHandle, cSQLString, "ResultCursor")

 Select ResultCursor
 Browse
See SQLconnect() and SQLexec() in the help file for details.

Hope it helps,

Fernando
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform