General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Mario chequeate lo del dsn, ya me lo explicaron aqui en universalthread:
DECLARE Integer SQLConfigDataSource IN odbccp32.dll Integer, Short, String @, String @
lc_driver = "SQL Server" &&+ CHR(0)
lc_dsn = "dsn=ca" + CHR(0) + ;
"server=desarrollo" + CHR(0) + ;
"database=btwin"+ CHR(0) + ;
"network=DBMSSOCN" + CHR(0) && DBMSSOCN = TCP/IP connection
fResult = SQLConfigDataSource(0, 4 , @lc_driver, @lc_dsn)
&&el 4 es dsn sys,el 1 es para user dsn
IF fResult = 1
MESSAGEBOX("se creo el dsn")
ELSE
MESSAGEBOX("eploto")
endif
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only