B
bill
Does anyone see why I'm getting this message? It errors out on line 5 at
"assAdapter"?
Dim Con = New OleDb.OleDbConnection("provider=microsoft.jet.oledb.4.0;" &
"data source=c:\_Archive\Documentation - Projects\Hardware Tracking -
2008\IT_Assets.mdb")
Dim assAdapter As OleDb.OleDbDataAdapter
Dim assCmd As New OleDb.OleDbCommand("SELECT * from tblAssets where
asset_tag=?")
assCmd.Parameters.Add("asset_tag", OleDbType.VarChar).Value = cboAsset.Text
Dim assAdapter As New OleDb.OleDbDataAdapter(assCmd, Con)
Dim assDT As New DataTable
'Release the instances of the above objects
assAdapter.Fill(assDT)
assAdapter.Dispose()
"assAdapter"?
Dim Con = New OleDb.OleDbConnection("provider=microsoft.jet.oledb.4.0;" &
"data source=c:\_Archive\Documentation - Projects\Hardware Tracking -
2008\IT_Assets.mdb")
Dim assAdapter As OleDb.OleDbDataAdapter
Dim assCmd As New OleDb.OleDbCommand("SELECT * from tblAssets where
asset_tag=?")
assCmd.Parameters.Add("asset_tag", OleDbType.VarChar).Value = cboAsset.Text
Dim assAdapter As New OleDb.OleDbDataAdapter(assCmd, Con)
Dim assDT As New DataTable
'Release the instances of the above objects
assAdapter.Fill(assDT)
assAdapter.Dispose()