I'm kinda stumped right now..
After the user updates a subform, it inserts a record into another table.
The transaction date, which is the OrderDate from a parent form, keeps getting inserted into the table as 30-Dec-1899... how can I fix that?
Dim strSQL As String
strSQL = "INSERT INTO PART_STATUS (SerialNumber,TransactionDate, StatusId, PartInvId) VALUES ('888888', " & Forms![frmPurchaseOrder]![OrderDate] & ", '1', " & PartInvId & ")"
DoCmd.RunSQL strSQL
Thanks!
After the user updates a subform, it inserts a record into another table.
The transaction date, which is the OrderDate from a parent form, keeps getting inserted into the table as 30-Dec-1899... how can I fix that?
Dim strSQL As String
strSQL = "INSERT INTO PART_STATUS (SerialNumber,TransactionDate, StatusId, PartInvId) VALUES ('888888', " & Forms![frmPurchaseOrder]![OrderDate] & ", '1', " & PartInvId & ")"
DoCmd.RunSQL strSQL
Thanks!