Afternoon,
So I have some code that was working but now seems to show Syntax Error.
If someone could help would be really helpful
Code:
Dim workreq As String
workreq = "N/S/F: " & Me!Text771 & "mm," & "O/S/F: " & Me!Text782 & "mm," & "N/S/R: " & Me!Text785 & "mm," & "O/S/R: " & Me!Text788 & "mm," & "Spare: " & Me!Text791 & "mm"
jetsql = "INSERT INTO fleet_Maintenance (Fc, FMx, FMmileage,) VALUES ('" & Me.txtFC & "', 'Check Sheet Completed test' & vbCrLf & workreq & vbCrLf & Me.Other & " ', '" & Me.txtFMmileage & "');"
CurrentDb.Execute jetsql, dbSeeChanges 'dbSQLPassThrough
Fc is a number as is me.txtFC
FMx is text and numbers
FMmileage is numbers
im sure its so simple but I just cant seem to find it
Regards