Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Quick One: Command Object

Here's a quick question...I need to know the correct thing to put in place of adByte. ad__?  My error is

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'adByte'


          .Parameters.Append = .CreateParameter( "switching", adByte, adParamInput)
0
sarahZ
Asked:
sarahZ
  • 4
  • 3
  • 3
1 Solution
 
drittichCommented:
Try adChar
0
 
sarahZAuthor Commented:
Oops, I forgot one...the adDateTime (??) Thanks


.Parameters.Append = .CreateParameter( "reqsigdate", adDateTime, adParamInput)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
sarahZAuthor Commented:
Oops, I forgot one...the adDateTime (??) Thanks


.Parameters.Append = .CreateParameter( "reqsigdate", adDateTime, adParamInput)
0
 
sarahZAuthor Commented:
drittich, ok...checking the links. thanks!
0
 
drittichCommented:
I think you would want adDBTimeStamp for that.
0
 
Nitin SontakkeDeveloperCommented:
I am sorry if i am distracting you from the original line of attack.

To the best of my knowledge and memory (which could be wrong) and going by the error you have supplied I have the following comment to make:

The adByte, adChar, etc are the constants declared in a Microsoft supplied file called "adoconstants.asp" or something on these lines.

You will need to include this in your ASP, if you are using these constants.

If you cannot find the file, you will require to use the numbers instead. You MAY find them in MSDN.

I wish i could be more accurate.


0
 
Nitin SontakkeDeveloperCommented:

Here is more accurate info:

The file you need is "adovbs.inc". I could find mine at following place:

C:\Program Files\Common Files\System\ado

0
 
Nitin SontakkeDeveloperCommented:

Here is more accurate info:

The file you need is "adovbs.inc". I could find mine at following place:

C:\Program Files\Common Files\System\ado

0
 
sarahZAuthor Commented:
yes! that was it, thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 4
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now