Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ODBC API Constants

Posted on 1997-06-25
4
Medium Priority
?
496 Views
Last Modified: 2010-05-18
Hi I am desperately looking for ODBC constants values
for example SQL_PARAM_INPUT
I have no VB CD(and no ODBC folders installed) no ODBC SDK include files too, therefore I am declaring functions manually, but cannot complete programs without constant values.
Matthew
mativare@i-2000.com
0
Comment
Question by:mativare
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 7

Expert Comment

by:tward
ID: 1427727
I have the ODBC Help files etc but no where in them does it talk about SQL_PARAM_INPUT.  What version of VB, 32bit or 16Bit, what version of ODBC?
0
 
LVL 5

Accepted Solution

by:
y96andha earned 200 total points
ID: 1427728
I have a file named sqlext.h, which I think contains the values that you need in C declare statements. Here are the ones you asked for. Please comment if you need any others.

#define SQL_PARAM_TYPE_UNKNOWN           0
#define SQL_PARAM_INPUT                  1
#define SQL_PARAM_INPUT_OUTPUT           2
#define SQL_RESULT_COL                   3
#if (ODBCVER >= 0x0200)
#define SQL_PARAM_OUTPUT                 4
#define SQL_RETURN_VALUE                 5
#end if
0
 
LVL 1

Author Comment

by:mativare
ID: 1427729
Hi Thank You For a Million For Constant values.
If it is convinient for you feel free to Email me the file
SQLEXT.h as a ad.
Thanks  in advance
Matthew
mativare@i-2000.com
0
 
LVL 5

Expert Comment

by:y96andha
ID: 1427730
OK, I'll be e-mailing it right away.
0

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question