Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC - Functions Calling
Message
From
15/10/1996 11:15:55
Biju Varghese
M.H Alshaya Co W.L.L
Kuwait, Kuwait
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ODBC - Functions Calling
Miscellaneous
Thread ID:
00010066
Message ID:
00010066
Views:
103
Hello Does anybody know how to call ODBC API from ODBC manager.I was trying to work with ODBCAPI program which was downloaded from Software download corner of UT. I had tried to execute some function from VFP and getting error as -.2125E+10. I had done the following step to execute an statement from VFP to ORACLE. DECLARE INTEGER SQLExecDirect IN odbc32.dll ; INTEGER nHstmt, ; STRING cSqlStr, ; INTEGER nSqlStrSize gnConHandle=SQLCONNECT('oracle') gnInternalConHandle = SQLGETPROP(gnConHandle,'ODBChdbc') gnInternalStmHandle = SQLGETPROP(gnConHandle,'ODBChstmt') cSql='SELECT * FROM Emp') nSql=LEN(cSql) ?SQLExecDirect(gnInternalStmHandle,cSql,nSql) I will be thankful, if anybody can provide me a sample programs do work with ODBC functions. Thank Q Waheed email:mbws@batelco.com.bh
Reply
Map
View

Click here to load this message in the networking platform