codigos333

download codigos333

of 1

description

jkkjh

Transcript of codigos333

  • B = MsgBox("El Producto Que Busca No Esta En La Base De Datos, Desea Agregarlo?", vbYesNo, "Error De Captura")If Val(B) = vbYes ThenAdodc1.Recordset.AddNewText2 = InputBox("Ingrese La Descripcin Del Producto", "Captura")Text3 = InputBox("ingrese la cantidad de productos", "Captura")Text4 = InputBox("Ingrese el precio del producto", "Captura") can = Val(Text3.Text) pre = Val(Text4.Text) tot = can * pre Text5.Text = tot Exit Sub End If