E
Emma
I no I don't need an auto number but basically what I need is a number that
counts sequentially 1-[1st month end number] then starts over again for the
next month ie 1- [next month end number]. The field and column name is
[Financial ID].... I was thinking something like:
Private Sub Form_Before Update(Cancel as Integer)
If Me.NewRecord and Month([DateofLoanAgreement])=Month(Now()) then
Me![Financial ID] = Now() + Nz(DMax( "[Financial ID]", "[Loans -
Table]"])+1
End If
End Sub
I know it's all very confusing but maybe someone could help me organize this
so it makes sense? Not sure if I can put Now90's date in front of the auto
number? Or if I should be using the format?
counts sequentially 1-[1st month end number] then starts over again for the
next month ie 1- [next month end number]. The field and column name is
[Financial ID].... I was thinking something like:
Private Sub Form_Before Update(Cancel as Integer)
If Me.NewRecord and Month([DateofLoanAgreement])=Month(Now()) then
Me![Financial ID] = Now() + Nz(DMax( "[Financial ID]", "[Loans -
Table]"])+1
End If
End Sub
I know it's all very confusing but maybe someone could help me organize this
so it makes sense? Not sure if I can put Now90's date in front of the auto
number? Or if I should be using the format?