Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 9th, 2005, 12:45 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default sql help got Microsoft VBScript runtime error '800

can somebody help me with my sql. im sort of new to vb...

sql = "SELECT TBL_INVOICE.INVOICE_NUMBER, TBL_INVOICE.PO_NUMBER, TBL_INVOICE.RECEIVING_DATE, TBL_INVOICE_ITEMS.ITEM_ID, TBL_ITEM_DESC.ITEM_DESC, TBL_INVOICE_ITEMS.ITEM_QTY, TBL_INVOICE.RECEIVED_BY, TBL_INVOICE.PO_RELEASE_NO " & _
"FROM TBL_INVOICE INNER JOIN (TBL_INVOICE_ITEMS INNER JOIN TBL_ITEM_DESC ON TBL_INVOICE_ITEMS.ITEM_ID = TBL_ITEM_DESC.ITEM_ID) ON TBL_INVOICE.INVOICE_NUMBER = TBL_INVOICE_ITEMS.INVOICE_NUMBER " & _
"WHERE (((TBL_INVOICE.RECEIVING_DATE) Between [@'" & dfrom & "'] And [@'" & dto & "']) AND ((TBL_INVOICE_ITEMS.ITEM_ID) Not Like "*NS*"))" & _
"ORDER BY TBL_INVOICE.RECEIVING_DATE, TBL_INVOICE.PO_NUMBER;"

thanx in advance...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript runtime error '800a01a8' Abbas Classic ASP Professional 1 July 21st, 2006 11:42 AM
Microsoft VBScript runtime error '800a01b6' PGSloboda Classic ASP Professional 0 October 20th, 2005 12:10 PM
Microsoft VBScript runtime error '800a01a8' gmoney060 BOOK: Beginning ASP 3.0 1 June 2nd, 2004 01:18 PM
Microsoft VBScript runtime error '800a000d' mwlyoung Classic ASP Databases 3 April 15th, 2004 04:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.