Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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 June 13th, 2007, 07:21 AM
Registered User
 
Join Date: Jun 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to Parse Query Text

I have been trying to execute the following query in table adapter in the Microsoft Visual Studio 2005. I am accessing a Microsoft Access Database.

But I keep getting the SQL Syntax Error: Unable to Parse Query Text

SELECT COUNT(*)
FROM
(SELECT DISTINCT[P A].[Last Name]
FROM [P A]
WHERE ([P A].[Month] = @Month) AND ([P A].[Code] = @code));

I am not sure how to handle this error. Please advice

Thanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to execute query. rupen ASP.NET 1.0 and 1.1 Basics 1 February 27th, 2006 11:27 AM
data parse from text file mameworld Java Basics 1 January 14th, 2006 06:30 AM
Unable to create SQL Query using parameters odyzeus Crystal Reports 0 March 3rd, 2005 01:29 PM
Parse text files and save in sub directories malesd VB How-To 2 March 1st, 2004 09:32 AM





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