I have d1 declared as a global date. It's been "new"ed when the window opens.

In a pushbutton I have the following code:

  Dim d2 As New Date

  d2 = d1
  d2.day = d2.day+1

  EF1.text = d1.ShortDate
  EF2.text = d2.ShortDate

Every time the pushbutton is pushed, both edit fields show an incrementing date, and the same date.

What am I not understanding about dates?

Thanx.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to