Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC connection?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00713618
Message ID:
00714017
Views:
19
VFP have a ODBC API Wrapper in the FFCs, check for Tools --> Component Gallery --> Foundation Classes --> Utilities --> ODBC Registry.
oReg = CREATEOBJECT("ODBCreg")

IF VARTYPE(oReg)='O' 
  *** Obtener en un arreglo (array), los DSN registrados **
  *** Gets an array including all the DSN  ***
  lnErrNum = oReg.GetODBCDrvrs(@laODBCData,.T.)
  *** DO Something  
ENDIF
Hope this Help
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Previous
Reply
Map
View

Click here to load this message in the networking platform