A starting point:[tt]
strSQL = "INSERT INTO Deployed Personnel Archive " _
& "([CFTPO], [Service Number], [Unit], [Name], [Initals], [Rank], [Gender], [Operation], [Start Date], [End Date], [Projected End Date], [Comments]) " _
& "VALUES ('" & Me.CFTPO & "'" _
& ", " & Me.Service_Number _
& ", " & Me.Unit_Number _
& ",'" & Replace(Me.Name, "'", "''") & "'" _
& ",'" & Me.Initals & "'" _
& ", " & Me.Rank _
& ",'" & Me.Gender & "'" _
& ",'" & Me.Operation & "'" _
& ",#" & Format(Me.Start_Date, "yyyy-mm-dd") & "#" _
& ",#" & Format(Me.End_Date, "yyyy-mm-dd") & "#" _
& ",#" & Format(Me.ProjectedEnd_Date, "yyyy-mm-dd") & "#" _
& ",'" & Replace(Me.Comments, "'", "''") & "'" _
& ")"
DoCmd.RunSQL strSQL[/tt]
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886