bonusmarch
MIS
Is there a way I can retrieve the system date and save it in the SQL table?
The user supposed to enter the customer info on a GUI form, after the user click submit, it saves the data to the SQL server table and one of the fields is CreateDate. Right now the date is saved as 1/1/1900. I want it to retrieve the system date and replaced it instead.
Here is the class to perform that function. Let me know if I'm missing anything.
Public Property Get CreateDate() As Date
CreateDate = m_dCreateDate
End Property ' get CreateDate
The user supposed to enter the customer info on a GUI form, after the user click submit, it saves the data to the SQL server table and one of the fields is CreateDate. Right now the date is saved as 1/1/1900. I want it to retrieve the system date and replaced it instead.
Here is the class to perform that function. Let me know if I'm missing anything.
Public Property Get CreateDate() As Date
CreateDate = m_dCreateDate
End Property ' get CreateDate