File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Unresolved error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

Unresolved error

Nick de Waal
Ranch Hand

Joined: Feb 19, 2012
Posts: 42
Hi all,

I have an error that I posted here Count field error
but I marked it resolved , which it's actually not, so my apologies for starting a new topic, but I'm afraid it won't get looked at in a resolved forum.

The problem is that I still receive an SQL error count field incorrect, I spent half the day today with two of my instructors trying to figure it out, and because they were
unable to find the problem they told me not to use a prepared statement. I disagreed with them because of the advice I have received here but also because of some of the course material covered.
I can get away with just using a statement but I am determined to see this through.

Now I would like to find out how to fix this error so I can use the prepared statement and prove my instructors wrong but in order to do this I need your help.

This is the code what I have been looking over with my instructors:

I have tried to find something online but I cannot seem to find a similar example any help will be much appreciated.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I marked your original thread as unresolved and posted an answer on it, so I will lock this one.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

In the future, simply ask a staffer to mark it unresolved.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Unresolved error
It's not a secret anymore!