title: Afterupdate event to write Date value from Textbox to Textbox with inputmask gives error 80020009 when overwriting
body: <p>I have an afterupdate event where the value entered in the textbox has to be put into another textbox. Initially this works as long as the second textbox is empty. however when i try to change the data in the first textbox i get error 80020009. </p>
  
  <ol>
  <li>Textbox one is called <em>Valdate</em></li>
  <li>Textbox two is called <em>actionate</em></li>
  <li>Both have the input mask ##-##-####</li>
  </ol>
  
  <p>When entering the date into <em>valdate</em> the afterupdate even triggers and puts the date into <em>actiondate</em> minus two days.</p>
  
  <p>This part works.</p>
  
  <p>However when <em>actiondate</em> is filled and i change <em>Valdate</em> I get the error 80020009.</p>
  
  <p>I found some information on several forums and based on that i tried to set the format of the <em>valdate</em> and tried to Dim the <em>valdate</em>. I probably did it wrong but both didnt work for me.</p>
  
  <p>the code i use is: </p>
  
  <pre><code>Private Sub ValDate_AfterUpdate()
  
  Me.Actiondate = Me.Actiondate &amp; ([ValDate] - 2)
  
  End Sub
  </code></pre>
  
  <p>What i want is that whenever i change the date in textbox 1 that date minus 2 days will be entered or overwrite the textbox 2.</p>