Anyone can help me with this code ?!
I have this error: Syntax error in FROM clause.Code:Dim cn As New OleDbConnection(Conexiune) Dim SQLResult As Object Dim SQL As New OleDbCommand cn.Open() SQL.Connection = cn SQL.CommandText = "SELECT COUNT(DISCTINCT(editura)) FROM lista_carti)" SQLResult = SQL.ExecuteScalar Me.lbl_nr_edituri.Text = SQLResult cn.Close()
Why this is not working with access databases !?




Reply With Quote