Hello, I have an mdb database and I'm trying to check if some records exist, using a function. The code below is giving me syntax error in FROM clause.
I want to learn if something is wrong with this code.Code:Dim dbStr As String = "SELECT * FROM ? WHERE ? = ?" Command = New OleDbCommand(dbStr, Connection) Command.Parameters.AddWithValue("@table", t) Command.Parameters.AddWithValue("@column", c) Command.Parameters.AddWithValue("@value", v)




Reply With Quote
