Does anyone see why I'm getting this message? It errors out on line 5 at
"assAdapter "?
Dim Con = New OleDb.OleDbConn ection("provide r=microsoft.jet .oledb.4.0;" &
"data source=c:\_Arch ive\Documentati on - Projects\Hardwa re Tracking -
2008\IT_Assets. mdb")
Dim assAdapter As OleDb.OleDbData Adapter
Dim assCmd As New OleDb.OleDbComm and("SELECT * from tblAssets where
asset_tag=?")
assCmd.Paramete rs.Add("asset_t ag", OleDbType.VarCh ar).Value = cboAsset.Text
Dim assAdapter As New OleDb.OleDbData Adapter(assCmd, Con)
Dim assDT As New DataTable
'Release the instances of the above objects
assAdapter.Fill (assDT)
assAdapter.Disp ose()
"assAdapter "?
Dim Con = New OleDb.OleDbConn ection("provide r=microsoft.jet .oledb.4.0;" &
"data source=c:\_Arch ive\Documentati on - Projects\Hardwa re Tracking -
2008\IT_Assets. mdb")
Dim assAdapter As OleDb.OleDbData Adapter
Dim assCmd As New OleDb.OleDbComm and("SELECT * from tblAssets where
asset_tag=?")
assCmd.Paramete rs.Add("asset_t ag", OleDbType.VarCh ar).Value = cboAsset.Text
Dim assAdapter As New OleDb.OleDbData Adapter(assCmd, Con)
Dim assDT As New DataTable
'Release the instances of the above objects
assAdapter.Fill (assDT)
assAdapter.Disp ose()
Comment