General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Update field in table with default current date
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!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only