Results 1 to 2 of 2
- 08-13-2007, 04:19 PM #1
Member
- Join Date
- Aug 2007
- Posts
- 3
- Rep Power
- 0
Keep getting this error msg... Please help?
Hello Everyone..
I keep getting the following message: ')' Expected but I don't know why.. The Method is as follows:
public void createTechnologyList(int applicationID) {
dropDown.addToWhereAnd("TechnologyType IN (SELECT TechnologyType FROM Site WHERE ApplicationID=" + applicationID + "AND TechnologyType" = 1 ") ");
dropDown.retrieve();
resetCounter();
items = dropDown.resultSet();
}
Could you please help?
Thanks in advance
Kets
- 08-15-2007, 12:23 PM #2
Member
- Join Date
- Jul 2007
- Location
- England, Bath
- Posts
- 47
- Rep Power
- 0
You have an extra " in your addToWhereAnd methods parameter:
Java Code:dropDown.addToWhereAnd("TechnologyType IN (SELECT TechnologyType FROM Site WHERE ApplicationID=" + applicationID + "AND TechnologyType[COLOR="DarkRed"]"[/COLOR] = 1 ") ");


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks