I'm doing something like this:
With frmMain
.DTPicker1.Valu e = rs.Fields("MyDa te").Value
.Textbox1.Text = "BlahBlah"
.ShowDialog()
End With
When the form appears, it has today's date in DTPicker1 instead of
what's in the data record. Data field is of type DateTime in SQL2000,
Date value is in the "Short Date" format.
With frmMain
.DTPicker1.Valu e = rs.Fields("MyDa te").Value
.Textbox1.Text = "BlahBlah"
.ShowDialog()
End With
When the form appears, it has today's date in DTPicker1 instead of
what's in the data record. Data field is of type DateTime in SQL2000,
Date value is in the "Short Date" format.
Comment