Maybe one of the experienced programmers can confirm this, or correct me, but if ECRnum is not the Recordsource of your form, I believe you can still reference the ECRNumIndex field by formatting one of these way:
ECRnum = Nz(DMax([Tables]![ECRnum],"ECRNumIndex"),0)+1
or
ECRnum = Nz(DMax([Tables]![ECRnum],[Tables]![ECRnum]![ECRNumIndex]),0)+1
If someone confirms that the above is wrong, I'll edit this post or delete it so's it doesn't end up confusing someone in the future. I'm new to Access as well.
Since you said you're new to Access, you can check what the Recordsource of your form is by opening your form in Design view, make sure the properties are open on the right, if not, right click on the form and click Properties at the bottom of the context menu, then select the Data tab in said properties to the right of the screen, at the top of the Data tab is Record Source. Notice just above that the drop-down/combo selection type, make sure it says Form.