Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error
Message
From
11/05/2012 15:14:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Error
Miscellaneous
Thread ID:
01543493
Message ID:
01543493
Views:
75
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
Reply
Map
View

Click here to load this message in the networking platform