title: how to change a combobox based on selection to a number field to 0 on a access form
body: <p>Hey there any help will be appreciated Thanks
  I got a combobox field = name(txtCombo)
  And a numberField = (txtNumber)</p>
  
  <p>Im getting a error something wrong with my code any help will be highly appreciated.Thanks</p>
  
  <pre><code>Private Sub txtCombo_Click()
  If Me.txtCombo.Value = "Meter" Then
  Me.txtNumber.Value = 0
  End If
  End Sub
  </code></pre>
  
  <p>error imn my code:</p>
  
  <p>Run time error: '2448' You cant assign a value to a object, due to this code I cant continue my calcuation!!!</p>
  
  <p>If I select the Meter value it must change the txtNumber to 0 </p>