Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 ADO and bigint

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2003-06-22 : 08:41:32
I define a table with bigint data-type.
I use the ADO 2.71 to call store-procedures. when I use the 'CreateParameter' with adBigint I got an error:
bad variable type.

any idea ?
thanks



Noam Graizer

Argyle
Yak Posting Veteran

53 Posts

Posted - 2003-06-22 : 09:26:55
adBigint has to be defined somewhere. Do you use an adovbs.inc include file? If you use an adovbs.inc file maybe you have an old one that doesn't contain the adBigint definition.

You could use a typelib reference in global.asa instead of using a adobvs.inc include file like this:

<!-- METADATA
TYPE="TypeLib"
FILE="C:\Program Files\Common Files\system\ado\msado15.dll"
-->

/Argyle

Go to Top of Page

noamg
Posting Yak Master

215 Posts

Posted - 2003-06-23 : 01:44:18
I develope with visual c++, not web.
the adBigint is exists.


Noam Graizer
Go to Top of Page
   

- Advertisement -