I am having problems with updating a datetime type field using the INSERT SATEMENT IN Ms Sql 2005. This is the scenario: -
1. dTrxDate is defined as datetime field in Ms Sql 2005.
2. There is no problem if I update the field through: -
2.1 Reading a Record set from the Table.
2.2 .AddNew
2.3 !dTrxDate = DTPicker Text Box on a form.
2.4 .Update
However, when I use the INSERT Statement The field does not gate the Date value from DTPicker Text Box. Instead, a null is moved to the field.
Please advise
1. dTrxDate is defined as datetime field in Ms Sql 2005.
2. There is no problem if I update the field through: -
2.1 Reading a Record set from the Table.
2.2 .AddNew
2.3 !dTrxDate = DTPicker Text Box on a form.
2.4 .Update
However, when I use the INSERT Statement The field does not gate the Date value from DTPicker Text Box. Instead, a null is moved to the field.
Please advise