ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 11th, 2003, 03:14 PM
mjsouleman mjsouleman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 5 mjsouleman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Microsoft VBScript runtime (0x800A01F4) Variable is undefined: 'adInteger'

I just installed studio 6.0 and
I am writting asp for the first time.
I am using the correct syntax according to interdev but I think I need to include a reference or a component. Any ideas?



Error Mesage:

Microsoft VBScript runtime (0x800A01F4) Variable is undefined: 'adInteger'

Original Code
set parId = cmdQuery.CreateParameter("paramShipperId", adInteger, adParamInput, , 1)
cmdQuery.Parameters.Append parId
set rsQuery = cmdQuery.Execute

Replaced Code that does work
Set rsQuery = dcnDB.Execute("qryGetShipper 1")


' set parId = cmdQuery.CreateParameter("paramShipperId", adInteger, adParamInput, , 1)
' cmdQuery.Parameters.Append parId
' set rsQuery = cmdQuery.Execute


Reply With Quote
  #2  
Old August 11th, 2003, 05:33 PM
nopoints nopoints is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Windsor ON, Canada
Posts: 459 nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level)nopoints User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 13 h 44 m 22 sec
Reputation Power: 8
not sure but it looks like you need to include adovbs.inc. it's a list of ado constants that you are using. including the adovbs.inc adds a bit of overhead so you are probably just better off declaring it in the page.
__________________
Programmer's Corner

Last edited by nopoints : August 11th, 2003 at 05:36 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Microsoft VBScript runtime (0x800A01F4) Variable is undefined: 'adInteger'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway