Formula
Publicado por Patricio (47 intervenciones) el 04/09/2009 00:58:02
Hola a todos
Favor si me pueden ayudar con esto, tengo las siguientes formulas en un formulario, sin embargo tanto el label9 como el label 25 no me muestran el resultado, lo mismo ocurre con el text5 y text4
Que me falta agregar, el resultado debe salir ejemplo $1900
Desde ya gracias
TextBox1.Text = "$" & CStr(CInt((Val(ComboBox3.Text) * Val(Label6.Caption)) / Va(ComboBox2.Text)))
TextBox2.Text = "$" & CStr(CInt(((Val(TextBox3.Text) / Val(ComboBox5.Text)) * Val(Label12.Caption) * Val(ComboBox3.Text)) / (Val(ComboBox2.Text) * Val(ComboBox4.Text))) * Val(ComboBox4.Text))
Label9.Caption = "$" & CStr(CInt(Val(TextBox1.Text) + Val(TextBox2.Text)))
TextBox5.Text = Val(TextBox1.Text) * Val(ComboBox1.Text)
TextBox4.Text = Val(TextBox2.Text) * Val(ComboBox1.Text)
Label25.Caption = Val(Label9.Caption) * Val(ComboBox1.Text)
Favor si me pueden ayudar con esto, tengo las siguientes formulas en un formulario, sin embargo tanto el label9 como el label 25 no me muestran el resultado, lo mismo ocurre con el text5 y text4
Que me falta agregar, el resultado debe salir ejemplo $1900
Desde ya gracias
TextBox1.Text = "$" & CStr(CInt((Val(ComboBox3.Text) * Val(Label6.Caption)) / Va(ComboBox2.Text)))
TextBox2.Text = "$" & CStr(CInt(((Val(TextBox3.Text) / Val(ComboBox5.Text)) * Val(Label12.Caption) * Val(ComboBox3.Text)) / (Val(ComboBox2.Text) * Val(ComboBox4.Text))) * Val(ComboBox4.Text))
Label9.Caption = "$" & CStr(CInt(Val(TextBox1.Text) + Val(TextBox2.Text)))
TextBox5.Text = Val(TextBox1.Text) * Val(ComboBox1.Text)
TextBox4.Text = Val(TextBox2.Text) * Val(ComboBox1.Text)
Label25.Caption = Val(Label9.Caption) * Val(ComboBox1.Text)
Valora esta pregunta


0