Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbconnect (fpsql) problem
Message
De
02/04/2003 14:23:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Dbconnect (fpsql) problem
Divers
Thread ID:
00773153
Message ID:
00773153
Vues:
56
Hello,
Im trying to access a SQL Server 2000 from FP2.6 via fpsql.dll

It works ok on a Win XP machine, but fails on W98.

The dbconnect() call returns with code -2

The error message is
ODBC error IM002 [microsoft][odbc dll] Data source name not found and no default driver specified.

The syntax I use is

store dbconnect(mydsn,myuser,mypwd) to nConn.
Also tried
store dbconnect(mydsn,myuser,mypwd,mydatabase) to nConn

It returns -2 in nConn on W98 SE, MDAC 2.6 SP1.
mydsn exists and works ok

Any ideas?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform