seems really dumb as I do it in other parts of my code but I have this class that is to query a database and put some data into a table for it and then just update the table. I have established all the database connections because it worked once and won't work anymore.
Can anyone see what I am doing wrong.
Thanks
To go where no programmer has gone before.
Can anyone see what I am doing wrong.
Thanks
Code:
SQL2 = "SELECT ID,Site,Current_Date,Color"
SQL2 += " FROM " + TableName
Dim Adp As New OleDb.OleDbDataAdapter(SQL2, conAccess)
Dim Tbl2 As New DataTable()
Adp.Fill(Tbl2) 'here is where i get the failure error E_FAIL 0X80004005 which when I looked it up was a general windows error.
To go where no programmer has gone before.