First, a couple of cautions. If you have more than 1 concurrent user (the more you have the more risky it becomes) there is a chance that the numbers generated will each create the same number. It's a small chance but it could happen.
If you are going to do this I would recommend you do it on an UNBOUND data entry form, that way your data is only changed on a button click or other event that makes it harder for events to coincide.
At any rate what you want to do is going to include some VBA on your data entry form.
If you're using a bound form this will work as well I just do not like using bound forms if at all possible
Code:
Dim MaxID As String
If IsNull(FE_ID) Then
MaxID = DMax("[FE_ID]", "kse_co")
FE_ID = "Ksec" & Right("0000" & CLng(Right(MaxID, Len(MaxID) - 4)) + 1, 4)
End If
This assumes you have a field on your form called FE_ID, the same as it appears on your table
Another note of caution, if you delete any records (particularly if it's the most recent record) and you already have data in other tables associated with that record you are going to create incorrect links between tables. So... never delete data from these tables or you will corrupt your data.