Ok so you're looking at the invoice creation date
so your FY begins on 6/1 and ends on 5/31 so fy11 would go from 6/1/2010 through 5/31/2011?
If so you could (on your data entry form) populate the field you're interested in with something like
Code:
Dim fy As Integer
Dim RecCt As Long
If DatePart("m", [PODATE]) >= 6 Then
fy = Right(DatePart("yyyy", [PODATE]), 2) + 1
Else
fy = Right(DatePart("yyyy", [PODATE]), 2)
End If
RecCt = DCount("[POID]", "Tbl_POs", "[PODATE] between #" & CDate("6/1/" & fy - 1) & "# AND #" & CDate("5/31/" & fy) & "#")
If RecCt = 0 Then
poid = fy & "-001"
Else
poid = fy & "-" & Right("00" & RecCt + 1, 2)
End If
You'd have to substitute in your table name and field name but this works for me.