sweenster
02-09-2005, 03:01 PM
I'm using an access database and am running the following query on it:
objCommand.CommandText = "SELECT * FROM Team WHERE Car='A' ORDER BY Name"
but i want to modify this so I can select two different parameters. I have tried:
objCommand.CommandText = "SELECT * FROM Team WHERE Car='A' AND Position='Engine' ORDER BY Name"
but this doesnt seem to work. I've also tried & and && as well intstead of AND but all have failed. Any suggestions?
objCommand.CommandText = "SELECT * FROM Team WHERE Car='A' ORDER BY Name"
but i want to modify this so I can select two different parameters. I have tried:
objCommand.CommandText = "SELECT * FROM Team WHERE Car='A' AND Position='Engine' ORDER BY Name"
but this doesnt seem to work. I've also tried & and && as well intstead of AND but all have failed. Any suggestions?