| |
kclow
Posts: 1
Score: 0
Joined: 4/21/2003
From:
Status: offline
|
Hi, just facing some weird problem as I am running a VBS program. Am using this VBS to generate a report to Excel by selecting from a DB (through DSN)... but I faced 2 strange problems: a) After calling sql_str = "select * from POSITION_HOLD" Set rs = conn.execute(sql_str) All the numeric fields selected returns 0 when I do as follow: Total_Investment_unit = rs("POS_T_INVEST_UNIT") b) If I call the sql_str as "select * from POSITION_HOLD order by FUND_CODE", I will get an error: [Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation Can anyone help me, as I normally use VB without any problem... but now I am required by user to use VBS instead! Thanks in advance... kclow
|
|