|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 ![]() |
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Microsoft VBScript runtime (0x800A01F4) Variable is undefined: 'adInteger' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|