Extract oracel data to an excel thur ODBC [message #100813] |
Mon, 27 October 2003 20:17 |
Johnathan Chiu
Messages: 4 Registered: October 2003
|
Junior Member |
|
|
I use the excel function on 2 cells to select data from oracle databse, one return the result and the other return '#N/A'.
The statement on the function is :
"DSN=Oracle;UID=USER1;PWD=PASSWORD;SERVER=MYSERVER","SELECT YERNAME from EMPLOYER where ENUM="&$A$1&""
*** This return the result with the correct information.
"DSN=Oracle;UID=USER1;PWD=PASSWORD;SERVER=MYSERVER","SELECT YEENAME from EMPLOYEE where ENUM="&$A$1&""
*** This return '#NA'
Please advise what's wrong with my 2nd statement on the function.
Thanks in advance.
|
|
|
|