Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the database drivers on the machine
Message
De
19/11/2009 06:26:33
 
 
À
19/11/2009 06:20:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01435535
Message ID:
01435537
Vues:
94
This message has been marked as the solution to the initial question of the thread.
>how to get the database drivers on the machine so as to create a stringconnect to sqlserver
>Rajesh
CLEAR
DECLARE INTEGER SQLGetInstalledDrivers IN odbccp32 STRING @, INTEGER, INTEGER @
m1 = SPACE(80000)
m2 = 0
IF SQLGetInstalledDrivers(@m1, 80000, @m2) # 0
    m1 = STRTRAN(LEFT(m1, m2),CHR(0), CHR(13)+CHR(10))
    lnLines = ALINES(aaaa,m1)
    FOR lnFor = 1 TO lnLines
        ? aaaa[lnFor]
    NEXT
ENDIF
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