J
johnb
I have the following SQL as part of a VBA Sub
strSql = "INSERT INTO [tbl_Parts] ( CPS_ID, FramePart, Mullpart, TransPart)
" & _
"SELECT " & lngID & " As CPS_ID, FramePart, Mullpart, TransPart " & _
"FROM [tbl_parts] WHERE CPS_ID = " & Me.CPS_ID & ";"
And it works great!
The "CPS_ID, FramePart, Mullpart, TransPart" part are only 4 fields but the
rest of the Form has another 50 or so fields. Do I have to type All the
fileds or is there another method of populating the 50 or so fields??
TIA
johnb
strSql = "INSERT INTO [tbl_Parts] ( CPS_ID, FramePart, Mullpart, TransPart)
" & _
"SELECT " & lngID & " As CPS_ID, FramePart, Mullpart, TransPart " & _
"FROM [tbl_parts] WHERE CPS_ID = " & Me.CPS_ID & ";"
And it works great!
The "CPS_ID, FramePart, Mullpart, TransPart" part are only 4 fields but the
rest of the Form has another 50 or so fields. Do I have to type All the
fileds or is there another method of populating the 50 or so fields??
TIA
johnb