Solved

ODBC API Constants

Posted on 1997-06-25
4
467 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
  • 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 50 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now