Solved

ODBC API Constants

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

696 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