wat could go wrong?Code:objCmd.CommandText = " UPDATE DataBase_T " & _ " SET Description = ' " & txtD1.Text & " ' , " & _ " SET Qty = ' " & txtQ1.Text & " ' , " & _ " SET Unit_Cost = ' " & txtUC1.Text & " ' " & _ " WHERE Description = ' " & describe & " ' and Qty = ' " & qty1 & " ' and Unit_Cost = ' " & uc & " ' and PR_NO = ' " & Label15.Caption & " ' " objCmd.CommandType = adCmdText objcmd.Execute




Reply With Quote