Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
What Is The Right Provider?
I am attempting to connect to an Oracle table.
When I record a macro to connect, it generates the following code. With ActiveSheet.QueryTables.Add(Connection:=Array(Arra y( _ "ODBC;DSN=PRG_OPS;UID=YYYYYY;PWD=XXXXXXXX;DBQ=EDSS P.WORLD;DBA=W;APA=T;EXC=F;FEN=T;QTO=T;FRC=10;FDL=1 0;LOB=T;RST=T;GDE=F;FRL=F;BAM=" _ ) I converted this to: strCnn = "Provider=OraOLEDB.Oracle.1;Password=XXXXXXXXX;Use r ID=YYYYYYY;Data Server=EDSSP.WORLD;Persist Security Info=True" I am guessing that perhaps the "OraOLEDB.Oracle.1". What and how do I know what to place in this field. I am getting the following error: -2147467259: ORA-12560: TNS:protocol adapter error |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how can i get in contact with a template provider?? | Excel Discussion (Misc queries) | |||
check for OLE DB provider? | Excel Programming | |||
Provider Issue with Version Change? | Excel Programming | |||
OLE DB Provider | Excel Programming | |||
Excel schema using Jet OLEDB Provider? | Excel Programming |