Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error
Message
De
11/05/2012 15:14:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Error
Divers
Thread ID:
01543493
Message ID:
01543493
Vues:
76
hello I have the following problem are
I run the program on the pc with windows xp and it works fine but the laptop with W7 gives me the error you attach the code where the error gives you copied it here
lparameters ccomando as string, lcparam as string
cconnstring=thisform.negocios.conexion()
oconn = createobject("ADODB.Connection")
ocomando = createobject("ADODB.Command")
ors = createobject("ADODB.Recordset")
oconn.connectionstring = cconnstring
oconn.connectiontimeout = 60
**===>  oconn.open **here error
if vartype(lcparam)="U" or vartype(lcparam)="L"
    lcparam = ""
endif
ocomando.commandtext = ccomando+" "+lcparam
ocomando.activeconnection = oconn
ors = ocomando.execute()
oconn = .null.
ocomando = .null.
return ors
Jose Manuel Ramirez
Répondre
Fil
Voir

Click here to load this message in the networking platform