Solved

ODBC API Constants

Posted on 1997-06-25
4
478 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 / DAO 3.6 / run time error: Couldn't find installable ISAM 7 118
Determine Range to Select 5 56
VBA filters 2 71
How to make an ADE file by code? 11 99
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

726 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