Hi,
Try setting the VALUE property of the myTextField to '=DATE()' or
'=myTable.submitDate'.
HTH,
Arriyel
>I'm using DSN-less connection, optimistic record buffering.
>On my form, I have a textfield called myTextField, that defaults to current/today's date.
>There is a field in myTable called myTable.submitdate that needs to be updated with that date.
>I have a command button to save all the fields on the form into the table. The click method to this command button only have 1 line: TABLEUPDATE(.T.).
>
>How do I set myTextField.controlsource?
>Do I set it: myTextField.controlsource=myTable.submitDate.
>How do I set it so that it defaults to today's date on the screen?
>
>Thank you all!
Speak using soft and sweet words in case you have to eat them later.