infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
ODBC - Retrieving Data From Sybase
System
Originally posted by David Harrison
Cloverleaf 5.6 on Solaris 10
I
Find more posts tagged with
Clovertech
Comments
carters
You should be able to add something like this right after the fetch:
For multiple rows:
System
Originally posted by Scott Folley
That is correct, what you need to remember is that the return value of the fetch is going to be the return code for the command. In this case "SQL_SUCCESS".
These lines tell the driver to bind the value returned from column 1 to the variable sname and the value returned from column 2 to the variable fname.
odbc SQLBindCol $hstmt 1 SQL_C_CHAR sname 30 pcbValue1
odbc SQLBindCol $hstmt 2 SQL_C_CHAR fname 30 pcbValue2
System
Originally posted by David Harrison
Thanks gentlemen, I
System
Originally posted by David Harrison
Ok - I've got that one sorted
odbc SQLBindCol $hstmt 10 SQL_C_CHAR gname 30 pcbValue10