Thank you very much. You were absolutely right and It is now working sort of.
The only problem is that each victim number was still coming up as 1.
I realized that I was using an unbound control and there for the bound control wasn't going to save the changes to the new victim number.
I decided that what I needed to do was use the onclick event on the command button for the new record and use what you had shown me to add 1 numerical value to the highest value recorded for the victims assigned to the current case number.
Thought I was doing great.
I changed the format of the table from text to general number.
I went through all of the previously entered records and changed the victim number entries to as number.
Previous officers had entered v-1, 01, victim1 or whatever they chose.
Thus the reason for the standard, they can't choose, format.
The code below is what I have on the onclick event for the new victim.
It is erring out and highlighting the last line of code where I am trying to assign the victim number.
Code:
Private Sub cmdAddNewVictim_Click()
'When the user clicks on the command button it will copy and paste the highlighted record
'Assign field values to be carried forward to variables
MyField_1 = Me.txtCASE_NUMBER
'Go to a new record
DoCmd.GoToRecord , , acNewRec
'Plug in old values from variables to new record
Me.txtCASE_NUMBER = MyField_1
'Count the number of victims assigned to this case number and assign the next numerical number to this victim
[txtVICTIM_No] = Nz(DMax("[CASE_NUMBER]", "[Tbl_UCR_Victim]", "txtVICTIM_NO=" & [Forms]![Frm_UCR_Victim]![txtCASE_NUMBER] & ""), 0 + 1)
End Sub