I have two textbox
They both have almost the same code as each other as well as the 2 table (Table807, Table850) they take their info from
When I do the calcul, the first box does it without probem, the second one.. instead of add the number put it one to next other.. meaning it prally take it as text.
The listbox they take their info from both have the same select.
At first I though it could the Table807 causing the trouble
But if I pick up Table807 with the first textbox the calcul go without a problem.. if I take it with Table807 too.
As soon as it's the second textbox.. no matter which Table is taken it doesn't work
Here's a part of the code that has something to do with those 2 textbox.
Private Sub cmd1_Click()
On Error GoTo Err_cmd1_Click
Dim strSQL1 As String
Dim strSQL2 As String
txt1.Value = lst1.Column(3) - txt3.Value
txt2.Value = lst2.Column(3) + txt3.Value
can you help me?
They both have almost the same code as each other as well as the 2 table (Table807, Table850) they take their info from
When I do the calcul, the first box does it without probem, the second one.. instead of add the number put it one to next other.. meaning it prally take it as text.
The listbox they take their info from both have the same select.
At first I though it could the Table807 causing the trouble
But if I pick up Table807 with the first textbox the calcul go without a problem.. if I take it with Table807 too.
As soon as it's the second textbox.. no matter which Table is taken it doesn't work
Here's a part of the code that has something to do with those 2 textbox.
Private Sub cmd1_Click()
On Error GoTo Err_cmd1_Click
Dim strSQL1 As String
Dim strSQL2 As String
txt1.Value = lst1.Column(3) - txt3.Value
txt2.Value = lst2.Column(3) + txt3.Value
can you help me?