Solved

ADODB.Connection error '800a0bb9' - Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

Posted on 2016-08-09
3
56 Views
Last Modified: 2016-08-10
Hi all, getting this error, however unsure why it would come up...

Set ItemBookings=oConn.Execute("SELECT * FROM enq_items,supplier_status WHERE item_status<>10 AND enq_ID="&Request.QueryString("enqview")&" AND supplier_land=item_status AND (Len(air_ID)>0 OR Len(land_ID)>0) ORDER BY item_depdate,item_deptime,item_type")
If Not ItemBookings.EOF Then
	Do Until ItemBookings.EOF
	If ItemBookings("item_type")=35 Then
		Set PackagePrice=oConn.Execite("SELECT * FROM enq_items WHERE enq_ID="&Request.QueryString("enqview")&" AND item_status<>10 AND item_package="&ItemBookings("item_ID"))
		If Not PackagePrice.EOF Then
			PPrice=0
			Do Until PackagePrice.EOF
				PPrice=PPrice+ItemBookings("item_gross")
			PackagePrice.MoveNext
				Loop
		End If
	End If
	ItemBookings.MoveNext
		Loop
End If

Open in new window


Error Line
Set PackagePrice=oConn.Execite("SELECT * FROM enq_items WHERE enq_ID="&Request.QueryString("enqview")&" AND item_status<>10 AND item_package="&ItemBookings("item_ID"))

Open in new window

0
Comment
Question by:Graeme
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
Manuel Flores earned 500 total points
ID: 41749379
Do you mean oConn.Execute ?
0
 

Author Closing Comment

by:Graeme
ID: 41749824
OMG yes! haha! how terrible

Thanks!
0
 
LVL 5

Expert Comment

by:Manuel Flores
ID: 41749928
Sometimes happens!!... thank you!
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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