G
Glen
Can anybody tell what is wrong with the way this is set up. I am not
real familiar with SQL and it kicks my tail a lot. Any help is greatly
appreciated.
strSQL = "INSERT INTO tblSS_HEADER " & _
"FORMS!frmUser_Data.SSelect_ID, " & _
"FORMS!frmUser_Data.txtShipClass, " & _
"FORMS!frmUser_Data.txtShipHull, " & _
"FORMS!frmUser_Data.VesselName, " & _
"FORMS!frmUser_Data.Avl_Type.UIC, " & _
"FORMS!frmUser_Data.Avl_Type, " & _
"FORMS!frmUser_Data.Avl_Type, " & _
"FORMS!frmUser_Data.StartDate, " & _
"FORMS!frmUser_Data.EndDate"
DoCmd.RunSQL (strSQL)
I have split the string for ease of reading in this post. I am trying
to take information from a form and insert it into a table instead of
grabbing all of this information from multiple tables and placing it
into tblSS_Header based on primary keys. Thanks again if you can help.
Glen
real familiar with SQL and it kicks my tail a lot. Any help is greatly
appreciated.
strSQL = "INSERT INTO tblSS_HEADER " & _
"FORMS!frmUser_Data.SSelect_ID, " & _
"FORMS!frmUser_Data.txtShipClass, " & _
"FORMS!frmUser_Data.txtShipHull, " & _
"FORMS!frmUser_Data.VesselName, " & _
"FORMS!frmUser_Data.Avl_Type.UIC, " & _
"FORMS!frmUser_Data.Avl_Type, " & _
"FORMS!frmUser_Data.Avl_Type, " & _
"FORMS!frmUser_Data.StartDate, " & _
"FORMS!frmUser_Data.EndDate"
DoCmd.RunSQL (strSQL)
I have split the string for ease of reading in this post. I am trying
to take information from a form and insert it into a table instead of
grabbing all of this information from multiple tables and placing it
into tblSS_Header based on primary keys. Thanks again if you can help.
Glen